def wait_ready(self, timeout=<NUM_LIT>):
deadline = time.time() + timeout<EOL>while time.time() < deadline:<EOL><INDENT>try:<EOL><INDENT>self.status()<EOL>return True<EOL><DEDENT>except:<EOL><INDENT>time.sleep(<NUM_LIT:2>)<EOL><DEDENT><DEDENT>return False<EOL>
wait until WDA back to normal

Returns:
    bool (if wda works)