Schedules task when the condition changes from true to false, and finishes the task under the same condition (true to false) if the task is still running.
true
false