pub fn random_delay(min_ms: u64, max_ms: u64) -> Duration
Generate a random delay between min_ms and max_ms.