Current version of TxHandler [with event context when ending tx instead of event, to finishi tx even when exception occurs]