    def set_shut_down(self):
        """Shut down the scheduler. Useful to shut down the
        scheduler in a controller task."""
        self.on_hold = False # In case was set to wait
        self._flag_shutdown.set()
Shut down the scheduler. Useful to shut down the
scheduler in a controller task.
rocketry/core/schedule.py