Insert (implied) transaction cancel on tdb_close/EOF.