Apply a timeout, make sure that is, of course, testable. Think also about how to set the timeout duration through the http::client interface.