title: Air XmlHttpRequest time out if remote server is offline?
body: <p>I'm writing an AIR application that communicates with a server via XmlHttpRequest. </p>
  
  <p>The problem that I'm having is that if the server is unreachable, my asynchronous XmlHttpRequest never seems to fail. My onreadystatechange handler detects the OPENED state, but nothing else. </p>
  
  <p>Is there a way to make the XmlHttpRequest time out? </p>
  
  <p>Do I have to do something silly like using setTimeout() to wait a while then abort() if the connection isn't established? </p>
  
  <p><strong>Edit: </strong>
  Found <a href="https://stackoverflow.com/questions/377231/problem-xmlhttprequest-handle-server-connection-lost">this</a>, but in my testing, wrapping my xmlhttprequest.send() in a try/catch block or setting a value on xmlhttprequest.timeout (or TimeOut or timeOut) doesn't have any affect. </p>