download each image in a separate thread