add a close method to disconnect the socket.io connection
rename close to disconnect
1.9.0