[ci skip]-Fixed an issue in HttpClient where calling destroyInstance and then usi...

Fixed an issue in HttpClient where calling destroyInstance and then using the HttpClient class again sometimes freezes the application.