code: def wait_ready(self, timeout=120):
          
          deadline = time.time() + timeout
          while time.time() < deadline:
              try:
                  self.status()
                  return True
              except:
                  time.sleep(2)
          return False
docs: wait until WDA back to normal
  
          Returns:
              bool (if wda works)