public void Close()
 {
     CurrentClient?.Close();
     Listener?.Close();
 }