Put response.read() in the try:, since that's what throws the timeout.