recreated connectmanager class