finish httpclient