Every time you pass through this loop, a new thread gets created. Every time a connection is finished the thread is disposed of.
Spawning a new thread for each connection takes a non-trivial amount of time, especially on a heavily loaded server. It would be better not to spawn so many threads.