Fixed a bug in the setNetworkManager operation of the APIWrapperFactory
Changed the HttpClient to the HttpClient instead of CloseableHttpClient