Upload to S3 in another thread