cleaning up pending-instruction / queue stuff in the tm and transaction