Don't log commit/rollback if tx is closed