static void Main(string[] args) { client = new PooledClient("localhost:9999,localhost:9998"); while (true) { new Thread(ThreadFunc).Start(); Thread.Sleep(500); } }