fix problems with s3 timeouts