added a timeout to the new instantiation of the HTTP client)