FIX: potential race when opening transaction
documentation for `close_transaction()` function
FIX: `publish_before_hook()` after dirtab exec