pub fn io_error_timed_out<E: Into<Box<dyn Error + Send + Sync>>>(
    error: E
) -> Error