emit an error when the job calls the callback twice