get rid of unnecessary S3 and DynamoDB connections