Make sure the HttpClient is shutdown when application is shutdown