title: stop a curl transfer in the middle
body: <p>i could only think of curl_close() from one of the callback functions.
  but php throws a warning:</p>
  
  <p>PHP Warning:  curl_close(): Attempt to close cURL handle from a callback.</p>
  
  <p>any ideas how to do that?</p>