for node in list(wait_q):
        if msg == node:
            with reg_q.transact():
                reg_q.append(msg)