adding a timeout value to the http client