loop issue with socket.io