    async def _hibernate(self):
        """Go to sleep and wake up when next task can be executed."""
        delay = self.session.config.cycle_sleep
        if delay is not None:
            await asyncio.sleep(delay)
        else:
            # delay is None, sleep 0 to release the async execution
            await asyncio.sleep(0)
Go to sleep and wake up when next task can be executed.
rocketry/core/schedule.py