title: How to check if Monkeyrunner's waitForConnection() failed
body: <p>I'd like to be able to determine when a call to Monkeyrunner's waitForConnection() method fails (times out). It seems that even when the device isn't present and the method times out the same object is returned. I was looking through the API to possibly use a different method to figure out if the phone wasn't connected or not, but nothing has worked so far. Any advice?</p>
  
  <p>PS. This is being done inside a Python script.  </p>