adding timeout to cron lock file