Prevents scheduling complete tasks multiple times