use timeouts with httpclient