Fix broken s3 connection