async fn read_object_chunked<R>(
    reader: R,
    tx: &Sender<Result<Vec<u8>, S3Error>>
) -> Result<DownloadMetricUpdate, DownloadError>where
    R: Unpin + AsyncRead,