http_response_recv might never receive an answer, so do wait for input and fail if the timeout is exceeded.