Move the S3 client into a singleton.