allows multiple uses of sync in a row

When you use a .sync() in a watch task for example, the tasks are run only the fist time because check variable is empty after the first run.