void () { if (ourConnection != null) { ourConnection.disconnect(); } ourConnection = null; // NOTE: all registered project actions will 'unregister' in manager.clearAll // no necessity to do it here }