Revert "Fixed waitForFinsished in Job"

This reverts commit 6970b74c4e1edc9d5b70248044c47bc4ce6fcba3.