Don't catch failed job submission prematurely.

This fixes a bug that is activated if OSError is raised on executing the task job submission command.