Added recovery mechanism for jobs that are never confirmed as finished.