PHP CURL调用异步行为

I have 2 different servers. In server 2 I have a API function which basically does video conversion of the file and generates thumbs. I have created logs after each functions in server 2 and server1 so that I can check what is happening in the server. From server1 I make a curl call which calls server2 API and sends necessary info like path and type of file etc to server2. The server to converts the media files and generate thumbs. All this process is done using ffmpeg and then server2 uploads converted video to rackspace cloud. This process runs in a cron job. In the cron job server1 reads media file path from a table and sends them one by one to server 2 by curl call.

Problem: This process takes time and what is happening that when server2 code is processing 1st video file server1 sends another video file. It does not wait for the response of server 2. Now server two is processing 1st and second then meanwhile server1 sends another then all videos in server two processed.Server two sends response for all videos one by one. I can see whole process in logs. But I'm not getting how this can be happen in PHP. As far as I read that PHP lines executes one by one. So server 1 should wait for response of server2.

Note: I have increased curl timeout also but that also does not work.