title: Send HTTP request and wait for 30 seconds
body: <p>i was wondering  how can i send a HTTP request to a website and keep the connection live for 30 seconds and then kill it.
  Is it possible with PHP or Javascript?</p>
  
  <p>For example:
  1. Script sends a request to stackoverflow
  2. The connection will be kept alive for 30 seconds
  3. After expiring the connection will be closed.</p>
  
  <p>Thanks in advance.</p>