Added terminate callback to b2b transaction to allow the transaction layer to trigger termination.  This makes sure that no more events will follow after the transacton has been terminated.