We have a need to perform automated restore testing for the snapshots stored . Whenever we connect the s3 to another ES cluster (readOnly mode) we will need to restart new ES cluster inorder to connect successfully. Later once we delete the readonly snapshot repository after testing we see that the original repository connection is lost
ES version 8.15.3
related issue: Removing second S3 repository causes "Connection Pool Shutdown" in 8.13.2