#150 cleanup cursor when a txn is retired