To ensure the Level agent is always running, a scheduled task is created that checks the service periodically. If for any reason the Level service is not running, the task will restart the service and log the exit event.