switch from one thread a peer in tcp connection to 2 threads for all of them