Allows explicit closure of any cached connections in the client object. Make use of this in the log_hooks:new_json method.
Adds a couple of options that provide more control over the default timeouts and logging. These are exposed to the shaping helper as `publish_timeout`, `publish_pool_idle_timeout` and `publish_connection_verbose`.