Added shut down/clean up code for subsequent try http client