Add cleanup for HttpClient connections on destroy of application.