chenge class of closing a recv-socket.
bugfix of memory leak