fix a race condition with stream connection vs. latency measuremtn (found by theBear)