A sleep wrapper with lockfile for forced triggering