protected override void OnStop() { AuditLogger?.FlowStopping(Definition.ServiceInfo); foreach (BlockBase block in _blockContainer.Blocks) { block.Stop(); } AuditLogger?.FlowStopped(Definition.ServiceInfo); }