datastore: transaction: only commit once
Merge pull request #234 from stephenplusplus/transaction-finalizing

datastore: transaction: only commit once