title: How to cancel a web service call if it's not responding
body: <p>I have a web page (.aspx) that calls a third party web service to get some data. It usually takes couple of seconds to get the response back, and then the rest of the page will load. Occasionally the call gets stuck either due to the web service is down, or internet connection, etc., the page just hang there and will not load. </p>
  
  <p>My questions is: </p>
  
  <p>1) Is there a way to abort/cancel the web service call after a set amount of time? </p>
  
  <p>2) Is it even possible to verify the status of the web service before calling it?</p>
  
  <p>Thanks.</p>