tdb2: cancel transactions on tdb_close