Add timeouts to the http client used by session.