add latency to socket.io's emit event