Removed a redundant call to cleanup and made it to call abortJob with status