### Elasticsearch Version

Doesn't matter

### Installed Plugins

_No response_

### Java Version

all

### OS Version

doesn't matter

### Problem Description

When you send a `scroll` request to the low level rest client it uses it's standard retry mechanism which catches all errors and just retries against another ES instance. The trouble with that is that you *can't* retry a scroll - it generally consumes state on the server and moves to the next page.

### Steps to Reproduce

Scroll with low level rest client.

### Logs (if relevant)

_No response_
client/rest/src/test/java/org/elasticsearch/client/RestClientMultipleHostsIntegTests.java
* Test host selector against a real server <strong>and</strong>
     * test what happens after calling
     */
    public void testNodeSelector() throws Exception {
        try (RestClient restClient = buildRestClient(firstPositionNodeSelector())) {
            Request request = new Request("GET", "/200");
            int rounds = between(1, 10);
            for (int i = 0; i < rounds; i++) {
                /*
                 * Run the request more than once to verify that the
                 * NodeSelector overrides the round robin behavior.
                 */
                if (stoppedFirstHost) {
                    try {
                        RestClientSingleHostTests.performRequestSyncOrAsync(restClient, request);
                        fail("expected to fail to connect");
                    } catch (ConnectException e) {
                        
                        if (false == System.getProperty("os.name").startsWith("Windows")) {
                            assertEquals("Connection refused", e.getMessage());
                        }
                    }
                } else {
                    Response response = RestClientSingleHostTests.performRequestSyncOrAsync(restClient, request);
                    assertEquals(httpHosts[0], response.getHost());
                }
            }
        }
    }
    private static class TestResponse {