Made private httpclient members non-static and implemented dispose