SOCKS: Fix leaking of sockets, leaving connections in CLOSE_WAIT