manually close http client