Added a hook to shutdown the underlying http client library

It doesn't really do much beyond documenting that sometimes it will be necessary to explicitly shutdown connections, but I like to find such stuff in the code.