Fixed bug in HTCHandler.resubmit
The function would previously resubmit a single failed job per iteration, while now it will resubmit all the failed jobs.
The function would previously resubmit a single failed job per iteration, while now it will resubmit all the failed jobs.