release the http client and free resources

Change-Id: I90629724d6bc35eaee1a1dd1c5e8b706fcdfb53e