garbage collecting disconnected sockets