[fix] Update latency value before emitting the `open` event