pub(crate) async fn drain_until_quiet(received: &AtomicU64)
Waits until received stops increasing, or two seconds elapse.
received