PHP drop HTTP connection
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/138374/close-a-connection-early">close a connection early</a><br>
  <a href="http://stackoverflow.com/questions/1481247/how-to-continue-process-after-responding-to-ajax-request-in-php">How to continue process after responding to ajax request in PHP?</a>  </p>
</blockquote>



<p>I need to drop connection in ajax actions:</p>

<pre><code>$response = getResponse($params);
echo $response; // don't make user to wait
flushAndDropConnection();
someLongActionsFor5Seconds();
</code></pre>

<p>How can I do it?</p>
