Always check return values of TxnBegin() and TxnCommit()