protected override void TeardownContext() { LocalBus.Dispose(); LocalBus = null; RemoteBus.Dispose(); RemoteBus = null; LocalEndpoint.Dispose(); LocalEndpoint = null; LocalErrorEndpoint.Dispose(); LocalErrorEndpoint = null; base.TeardownContext(); }