add retry for downloading