Unregister beans when connection manager is shutdown

Registered MBeans were causing class loader memory leaks as they weren't being unregistered when the connection manager is shutdown.