exposing socket.disconnect