potential fix for pause then stop job bug.