pub async fn wait_mode_data<T>(
    dev: Device,
    retry: Retries<T>
) -> Result<Device, Error>
where T: IterTime,