protected void StopMaintenanceThread() { if (_maintenanceThread != null && _maintenanceThread.IsRunning) { _maintenanceThread.StopThread(); } }