S3 bucket slow to delete when destroyed during an apply

I have exactly the same issue with the official HashiCorp AWS provider of version 5.72.1.

Backend is LocalStack.

Everything works, but destructing a never used and empty S3 bucket takes a very long time (in fact never finished, I interrupted it before it could). When running terraform destroy on the other hand, it is instantly destroyed.

Why is that? Isn’t that bug fixed?

For now, this seems to be fixed by increasing the proxy read timeout.

proxy_read_timeout 3600;