### CI Link

https://gradle-enterprise.elastic.co/s/jw2osfn3o4ork

### Repro line

`gradlew ':x-pack:plugin:esql:internalClusterTest' --tests "org.elasticsearch.xpack.esql.action.EsqlActionTaskIT.testCancelRead" -Dtests.seed=F9D81006206BDA07 -Dtests.locale=und -Dtests.timezone=CST -Druntime.java=20`

### Does it reproduce?

No

### Applicable branches

main

### Failure history

_No response_

### Failure excerpt

This doesn't reproduce, even though I've tried using both seeds (from inside IntelliJ) and running the test multiple times with other random seeds.

```
org.elasticsearch.xpack.esql.action.EsqlActionTaskIT > testCancelRead FAILED
    java.lang.Error: Maximum permit count exceeded
        at __randomizedtesting.SeedInfo.seed([F9D81006206BDA07:6CF5A28298786366]:0)
        at java.base/java.util.concurrent.Semaphore$Sync.tryReleaseShared(Semaphore.java:198)
        at java.base/java.util.concurrent.locks.AbstractQueuedSynchronizer.releaseShared(AbstractQueuedSynchronizer.java:1146)
        at java.base/java.util.concurrent.Semaphore.release(Semaphore.java:619)
        at org.elasticsearch.xpack.esql.action.EsqlActionTaskIT.cancelTask(EsqlActionTaskIT.java:200)
        at org.elasticsearch.xpack.esql.action.EsqlActionTaskIT.testCancelRead(EsqlActionTaskIT.java:161)
```
x-pack/plugin/esql/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/EsqlActionTaskIT.java
if (o.operator().equals("LuceneSourceOperator[shardId=0, maxPageSize=" + PAGE_SIZE + "]")) {
                    LuceneSourceOperator.Status oStatus = (LuceneSourceOperator.Status) o.status();
                    assertThat(oStatus.currentLeaf(), lessThanOrEqualTo(oStatus.totalLeaves()));
                    assertThat(oStatus.leafPosition(), lessThanOrEqualTo(oStatus.leafSize()));
                    luceneSources++;
                    continue;
                }
                if (o.operator().equals("ValuesSourceReaderOperator[field = pause_me]")) {
                    ValuesSourceReaderOperator.Status oStatus = (ValuesSourceReaderOperator.Status) o.status();
                    assertThat(oStatus.readersBuilt(), equalTo(Map.of("LongValuesReader", 1)));
                    assertThat(oStatus.pagesProcessed(), greaterThanOrEqualTo(1));
                    valuesSourceReaders++;
                    continue;
                }
                if (o.operator().equals("ExchangeSourceOperator")) {
                    ExchangeSourceOperator.Status oStatus = (ExchangeSourceOperator.Status) o.status();
                    assertThat(oStatus.pagesWaiting(), greaterThanOrEqualTo(0));
                    assertThat(oStatus.pagesEmitted(), greaterThanOrEqualTo(0));
                    exchangeSources++;
                    continue;
                }
                if (o.operator().equals("ExchangeSinkOperator")) {
                    ExchangeSinkOperator.Status oStatus = (ExchangeSinkOperator.Status) o.status();
                    assertThat(oStatus.pagesAccepted(), greaterThanOrEqualTo(0));
                    exchangeSinks++;
                }
            }
        }
        assertThat(luceneSources, greaterThanOrEqualTo(1));
        assertThat(valuesSourceReaders, equalTo(1));