pub(crate) async fn sleep_until(deadline: Option<Instant>)
Sleep until the deadline, forever without one.