catching failed attachment downloads