add image back to queue if upload fails