### CI Link

https://gradle-enterprise.elastic.co/s/4vs5o45pilg66/tests/:modules:repository-gcs:internalClusterTest/org.elasticsearch.repositories.gcs.GcsProxyIntegrationTests/testContainerCreationAndDeletion

### Repro line

`./gradlew ':modules:repository-gcs:internalClusterTest' --tests "org.elasticsearch.repositories.gcs.GcsProxyIntegrationTests.testContainerCreationAndDeletion" -Dtests.seed=58DD800E92CBFB3A -Dtests.locale=fi-FI -Dtests.timezone=Asia/Pyongyang -Druntime.java=17`

### Does it reproduce?

No

### Applicable branches

main

### Failure history

https://gradle-enterprise.elastic.co/scans/tests?search.timeZoneId=Europe/Berlin&tests.container=org.elasticsearch.repositories.gcs.GcsProxyIntegrationTests&tests.test=testContainerCreationAndDeletion#

### Failure excerpt

```
Caused by: java.net.SocketException: Unexpected end of file from server	
	at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:903) ~[?:?]	
	at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:726) ~[?:?]	
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1688) ~[?:?]	
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589) ~[?:?]	
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:529) ~[?:?]	
	at com.google.api.client.http.javanet.NetHttpResponse.<init>(NetHttpResponse.java:36) ~[google-http-client-1.42.3.jar:1.42.3]	
	at com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:152) ~[google-http-client-1.42.3.jar:1.42.3]	
	at com.google.api.client.http.javanet.NetHttpRequest.execute(NetHttpRequest.java:84) ~[google-http-client-1.42.3.jar:1.42.3]	
	at com.google.api.client.http.HttpRequest.execute(HttpRequest.java:1012) ~[google-http-client-1.42.3.jar:1.42.3]	
	at com.google.api.client.googleapis.batch.BatchRequest.execute(BatchRequest.java:257) ~[google-api-client-2.1.1.jar:2.1.1]	
	at com.google.cloud.storage.spi.v1.HttpStorageRpc$DefaultRpcBatch.submit(HttpStorageRpc.java:259) ~[google-cloud-storage-2.13.1.jar:2.13.1]	
	at com.google.cloud.storage.StorageBatch.submit(StorageBatch.java:149) ~[google-cloud-storage-2.13.1.jar:2.13.1]	
	at org.elasticsearch.repositories.gcs.GoogleCloudStorageBlobStore.lambda$deleteBlobsIgnoringIfNotExists$10(GoogleCloudStorageBlobStore.java:570) ~[main/:?]	
	at org.elasticsearch.repositories.gcs.SocketAccess.lambda$doPrivilegedVoidIOException$0(SocketAccess.java:43) ~[main/:?]	
	at java.security.AccessController.doPrivileged(AccessController.java:569) ~[?:?]	
	at org.elasticsearch.repositories.gcs.SocketAccess.doPrivilegedVoidIOException(SocketAccess.java:42) ~[main/:?]	
	at org.elasticsearch.repositories.gcs.GoogleCloudStorageBlobStore.deleteBlobsIgnoringIfNotExists(GoogleCloudStorageBlobStore.java:539) ~[main/:?]	
	at org.elasticsearch.repositories.gcs.GoogleCloudStorageBlobStore.lambda$deleteDirectory$9(GoogleCloudStorageBlobStore.java:496) ~[main/:?]	
	at java.security.AccessController.doPrivileged(AccessController.java:569) ~[?:?]	
	at org.elasticsearch.repositories.gcs.SocketAccess.doPrivilegedIOException(SocketAccess.java:33) ~[main/:?]	
	at org.elasticsearch.repositories.gcs.GoogleCloudStorageBlobStore.deleteDirectory(GoogleCloudStorageBlobStore.java:489) ~[main/:?]	
	at org.elasticsearch.repositories.gcs.GoogleCloudStorageBlobContainer.delete(GoogleCloudStorageBlobContainer.java:98) ~[main/:?]	
	at org.elasticsearch.repositories.blobstore.BlobStoreRepository.endVerification(BlobStoreRepository.java:1758) ~[elasticsearch-8.8.0-SNAPSHOT.jar:8.8.0-SNAPSHOT]	
	at org.elasticsearch.repositories.RepositoriesService$4.lambda$doRun$1(RepositoriesService.java:490) ~[elasticsearch-8.8.0-SNAPSHOT.jar:8.8.0-SNAPSHOT]	
	at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingRunnable.run(ThreadContext.java:891) ~[elasticsearch-8.8.0-SNAPSHOT.jar:8.8.0-SNAPSHOT]	
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]	
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]	
	at java.lang.Thread.run(Thread.java:833) ~[?:?]
```	
modules/repository-gcs/src/test/java/org/elasticsearch/repositories/gcs/GoogleCloudStorageServiceTests.java
GoogleCloudStorageOperationsStats statsCollector = new GoogleCloudStorageOperationsStats("bucket");
            final Storage client11 = storageService.client("gcs1", "repo1", statsCollector);
            assertThat(client11.getOptions().getProjectId(), equalTo("project_gcs11"));
            final Storage client12 = storageService.client("gcs2", "repo2", statsCollector);
            assertThat(client12.getOptions().getProjectId(), equalTo("project_gcs12"));
            
            final IllegalArgumentException e1 = expectThrows(
                IllegalArgumentException.class,
                () -> storageService.client("gcs3", "repo3", statsCollector)
            );
            assertThat(e1.getMessage(), containsString("Unknown client name [gcs3]."));
            
            plugin.reload(settings2);
            
            assertThat(client11.getOptions().getProjectId(), equalTo("project_gcs11"));
            
            final Storage client21 = storageService.client("gcs1", "repo1", statsCollector);
            assertThat(client21.getOptions().getProjectId(), equalTo("project_gcs21"));
            
            assertThat(client12.getOptions().getProjectId(), equalTo("project_gcs12"));
            
            final IllegalArgumentException e2 = expectThrows(
                IllegalArgumentException.class,
                () -> storageService.client("gcs2", "repo2", statsCollector)
            );
            assertThat(e2.getMessage(), containsString("Unknown client name [gcs2]."));
            
            final Storage client23 = storageService.client("gcs3", "repo3", statsCollector);
            assertThat(client23.getOptions().getProjectId(), equalTo("project_gcs23"));
        }