Add threading support to Downloader