cancel_restart is a mode for SingleInstanceTask that changes the behavior when starting the task - if the task is already running, do not cancel it to start another.