pre-generating httpclient