Close gauges on connection pool manager shutdown

Fixes #47