Changed where the HTTP client timeout is set.