Yes, You are right - it does not leak in Windows. Unfortinately sockets does not work properly threaded in windows and threads leaks memory in Linux. No system is perfect for threaded socket programming :-)
One old discussion is
Perl Threads and Memory Leaking and there are others too.