- make sure the socket is closed when the final reading has   been done. Otherwise we leak sockets in state CLOSE_WAIT eating up the systems   file descriptors.
- make sure the socket is closed when the final reading has
  been done. Otherwise we leak sockets in state CLOSE_WAIT eating up the systems
  file descriptors.

git-svn-id: 526f3b90ad6d9b1dfe840af828070ca3d99521ac@7439 d2cacbed-c0f6-0310-851a-9dad52fc623a

johannes85/core