Download images using threads