Implement Kue like API with waitForJob()