The world model server stops responding to newly-connected sockets, and appears to have a large number of sockets stuck in the CLOSE_WAIT state. This may be caused by the socket-closing code.
Some ideas...
Basically:
1. shutdown socket
2. read to clear buffer
3. close socket
http://social.msdn.microsoft.com/Forums/is/vclanguage/thread/b3cf597e-bc9f-4e78-b8b2-43a3fc64802b
libc:
http://www.gnu.org/software/libc/manual/html_node/Closing-a-Socket.html
Forums:
http://www.unix.com/programming/30749-handling-close_wait-tcp-state.html
http://www.vbforums.com/showthread.php?t=318984
Should be fixed with commit 2a488502fbcbc9251c6f654cb2ed2476c190cc96
Needs to be tested against a busy server.