allows multiple uses of sync in a row

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