**Build scan:**
https://gradle-enterprise.elastic.co/s/xqf2tdt4qwvsm/tests/:x-pack:plugin:esql:compute:test/org.elasticsearch.compute.operator.exchange.ExchangeServiceTests/testFailToRespondPage

**Reproduction line:**
```
./gradlew ':x-pack:plugin:esql:compute:test' --tests "org.elasticsearch.compute.operator.exchange.ExchangeServiceTests.testFailToRespondPage" -Dtests.seed=CB4F0EDC716ADF9C -Dtests.locale=tr -Dtests.timezone=Europe/Busingen -Druntime.java=20
```

**Applicable branches:**
main

**Reproduces locally?:**
Didn't try

**Failure history:**
https://gradle-enterprise.elastic.co/scans/tests?tests.container=org.elasticsearch.compute.operator.exchange.ExchangeServiceTests&tests.test=testFailToRespondPage

**Failure excerpt:**
```
com.carrotsearch.randomizedtesting.UncaughtExceptionError: Captured an uncaught exception in thread: Thread[id=1287, name=elasticsearch[test][generic][T#3], state=RUNNABLE, group=TGRP-ExchangeServiceTests]


  Caused by: java.lang.AssertionError: TaskCancellationService is not initialized

    at __randomizedtesting.SeedInfo.seed([CB4F0EDC716ADF9C]:0)
    at org.elasticsearch.tasks.TaskManager.getCancellationService(TaskManager.java:261)
    at org.elasticsearch.tasks.TaskManager.cancelTaskAndDescendants(TaskManager.java:819)
    at org.elasticsearch.tasks.TaskManager$4.doRun(TaskManager.java:806)
    at org.elasticsearch.common.util.concurrent.ThreadContext$ContextPreservingAbstractRunnable.doRun(ThreadContext.java:983)
    at org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:26)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
    at java.lang.Thread.run(Thread.java:1623)

```
x-pack/plugin/esql/compute/src/test/java/org/elasticsearch/compute/operator/exchange/ExchangeServiceTests.java
}
        ExchangeSinkHandler sinkExchanger = new ExchangeSinkHandler(2, threadPool::relativeTimeInMillis);
        ExchangeSink sink1 = sinkExchanger.createExchangeSink();
        ExchangeSink sink2 = sinkExchanger.createExchangeSink();
        ExchangeSourceHandler sourceExchanger = new ExchangeSourceHandler(3, threadPool.executor(ESQL_TEST_EXECUTOR));
        assertThat(sourceExchanger.refCount(), equalTo(1));
        ExchangeSource source = sourceExchanger.createExchangeSource();
        assertThat(sourceExchanger.refCount(), equalTo(2));
        sourceExchanger.addRemoteSink(sinkExchanger::fetchPageAsync, 1);
        assertThat(sourceExchanger.refCount(), equalTo(3));
        ListenableActionFuture<Void> waitForReading = source.waitForReading();
        assertFalse(waitForReading.isDone());
        assertNull(source.pollPage());
        assertTrue(sink1.waitForWriting().isDone());
        randomFrom(sink1, sink2).addPage(pages[0]);
        randomFrom(sink1, sink2).addPage(pages[1]);
        
        for (Page p : List.of(pages[2], pages[3], pages[4])) {
            ExchangeSink sink = randomFrom(sink1, sink2);
            assertBusy(() -> assertTrue(sink.waitForWriting().isDone()));
            sink.addPage(p);
        }
        
        assertFalse(randomFrom(sink1, sink2).waitForWriting().isDone());
        assertBusy(() -> assertTrue(source.waitForReading().isDone()));
        assertEquals(pages[0], source.pollPage());
        assertBusy(() -> assertTrue(source.waitForReading().isDone()));
        assertEquals(pages[1], source.pollPage());
        
        assertBusy(() -> assertTrue(randomFrom(sink1, sink2).waitForWriting().isDone()));