Check if the scheduler is still running in _terminateFromMonitor()