initialize DownloadManager in separate thread