Use fs.existsSync.
Call worker's callback if it was killed while working on a job.