Revert "transactions, get_emit_options(): close only when no emits are pending"

Pending adds and removes were already tested in transaction..get_options()

This reverts commit 1c06d7ff4a2eee40f99e7b79fce73c92bc9eb961.