Fixed waitForFinsished in Job

This still had to be adapted to the new Workers.
Merge pull request #5 from rogierslag/fixedWaitForFinish

Fixed waitForFinsished in Job