public void StopListener(Listener listener) { try { listener.Stop(); } catch (Exception ex) { this.Logger.WriteException(ex); throw; } }