Bugfix: While waiting for jobs to finish, the code did not handle re-issuing of jobs