only queue tasks for later if we are in an atomic block