Fixed issue where httpClient was not getting reinitialised for each request