Don't catch failed job submission prematurely.
Merge pull request #901 from hjoliver/fix-job-submission-bug

Don't catch failed job submission prematurely.