Properly notifies TransactionIdStore about closed transaction after apply