Cleaned up nested try/except block in ThreadDownload