Use a thread pool to download images in parallel