Let worker open and close the S3 connection in the same method.