#150 maybe cleanup a cursor when a txn is retired