Remove connection manager and service manager.