Stop if the download is cancelled.