move clear_active_connections! from statsd addition