Added timeout for HTTP client.