More advanced download error handling