### CI Link

https://gradle-enterprise.elastic.co/s/xws6gmgwdwnmm/tests/overview?outcome=failed

### Repro line

./gradlew ':x-pack:plugin:esql:test' --tests "org.elasticsearch.xpack.esql.CsvTests" -Dtests.method="test {rename.RenameProjectEval}" -Dtests.seed=F32BCA1B870438F -Dtests.locale=ar-LY -Dtests.timezone=UTC -Druntime.java=21	

### Does it reproduce?

Yes

### Applicable branches

main

### Failure history

_No response_

### Failure excerpt

```
java.lang.AssertionError: java.lang.IllegalStateException: can't release already released block [IntVectorBlock[vector=IntArrayVector[positions=3, values=[2, 5, 4]]]]
```
x-pack/plugin/esql/compute/src/test/java/org/elasticsearch/compute/data/BasicPageTests.java
}
    }
    public void testSerializationListPages() throws IOException {
        final int positions = randomIntBetween(1, 64);
        List<Page> origPages = List.of(
            new Page(new IntArrayVector(randomInts(positions).toArray(), positions).asBlock()),
            new Page(
                new LongArrayVector(randomLongs(positions).toArray(), positions).asBlock(),
                DoubleBlock.newConstantBlockWith(randomInt(), positions)
            ),
            new Page(BytesRefBlock.newConstantBlockWith(new BytesRef("Hello World"), positions))
        );
        try {
            EqualsHashCodeTestUtils.checkEqualsAndHashCode(origPages, page -> {
                try (BytesStreamOutput out = new BytesStreamOutput()) {
                    out.writeCollection(origPages);
                    return blockStreamInput(out).readCollectionAsList(Page::new);
                }
            }, null, pages -> Releasables.close(() -> Iterators.map(pages.iterator(), p -> p::releaseBlocks)));
        } finally {
            Releasables.close(() -> Iterators.map(origPages.iterator(), p -> p::releaseBlocks));
        }
    }
    BytesRefArray bytesRefArrayOf(String... values) {
        var array = new BytesRefArray(values.length, bigArrays);
        Arrays.stream(values).map(BytesRef::new).forEach(array::append);
        return array;
    }
}