Added exception catching when job cannot be processed.