Set maximum timeout for HttpClient