Use a threadpool to upload photos