Stop renewing lock for failed jobs

When jobs are failed, timer keeps spinning infinitely.