add a check for pending async jobs