title: Script continues execution after "504 Gateway Time-out"
body: <p>I'm running this script under nginx+apache. It sends large data packages (split into portions) to a remote server, calling cURL execution in cycle. Strange thing to me is, that after timeout I receive 504 error into browser (captain), but script continues to run anyway!</p>
  
  <p>I've tested it - and script <strong>is</strong> sending all the data I require it to send, so technically, it's not a problem. But I think that any unusual stuff like this might have it's consequences in future.</p>
  
  <p>I would appreciate any knowledge that more experienced developers might share on this issue.</p>