AVOID THE DELAY BY MEASURING NETWORK LATENCY