handle failed downloads