fix crontab.flush double locking
Merge pull request #25 from APItools/cron-locks

Fix slow crontab.flush