I need to wait for a successful response from the server within a certain time. The easiest way to do it:
def wait_for_response(): response = None tim