changes to check work queue before looking for new txn