protected override void OnStopped() { base.OnStopped(); _pullSocket.Close(); _pullSocket.Dispose(); _pushSocket.Close(); _pushSocket.Dispose(); _netMqContext.Dispose(); }