public void Stop() { listener.Stop(); lock (this) { foreach (Thread t in threads) { if (t.IsAlive) { t.Abort(); } } } }