Finalize before setting final transaction state