Exit correctly from the download process when it fails (storage full)

All in the title
yes , one to warn the user his cache is full and one to say if the download is a success or a fail