private void AcceptSocket(TcpListener listener) { try { KeepAcceptingClients(listener); } finally { AcceptThread.Abort(); } }