Fix up S3 uploading to conserve connections better, also be secure.