Add 'Close' function to properly release all resources for a host pool.

This is necessary for usage of the lib with multiple dynamically created hostpools. Currently there is no easy way to release resources taken in each hostpool because of the ticker go routine.
hmm. Can you share some details on what pointed you this direction? Do you have useful pprof data, or a simple reproducible test case?