The files that are paused for download will be deleted when I close the app

The files that are paused for download will be deleted when I close the app.
please help me

I use the contents.downloadURL(url) method to download the file and downloadItem.pause() to pause.