add error message and set progress bar to 0% when the upload is canceled