Abort image upload if the first image upload fails.