close connection on socket.io hadnshake