Sets the timeout in get_response_code to the test-defined timeout