Simplify debug, httpclient was being refreshed unnecessarily