### 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/src/internalClusterTest/java/org/elasticsearch/xpack/esql/action/EsqlActionIT.java
}
    public void testShowFunctions() {
        try (EsqlQueryResponse results = run("show functions")) {
            assertThat(
                results.columns(),
                equalTo(
                    List.of(
                        new ColumnInfo("name", "keyword"),
                        new ColumnInfo("synopsis", "keyword"),
                        new ColumnInfo("argNames", "keyword"),
                        new ColumnInfo("argTypes", "keyword"),
                        new ColumnInfo("argDescriptions", "keyword"),
                        new ColumnInfo("returnType", "keyword"),
                        new ColumnInfo("description", "keyword"),
                        new ColumnInfo("optionalArgs", "boolean"),
                        new ColumnInfo("variadic", "boolean")
                    )
                )
            );
            assertThat(getValuesList(results).size(), equalTo(new EsqlFunctionRegistry().listFunctions().size()));
        }
    }
    public void testInWithNullValue() {
        try (EsqlQueryResponse results = run("from test | where null in (data, 2) | keep data")) {
            assertThat(results.columns(), equalTo(List.of(new ColumnInfo("data", "long"))));
            assertThat(getValuesList(results).size(), equalTo(0));
        }
    }
    public void testTopNPushedToLucene() {
        for (int i = 5; i < 11; i++) {