socket.socket.disconnect doens't exist in 1.x