### Elasticsearch Version

8.2.0

### Installed Plugins

_No response_

### Java Version

_bundled_

### OS Version

docker-image = docker.elastic.co/elasticsearch/elasticsearch:8.2.0

### Problem Description

We are trying to migrate from Elasticsearch 6.7.1 to Elasticsearch 8.2.0.

With the same amount of documents per bulk request (100 docs per request), we always get a socket timeout in Elasticsearch 8.2.0. Everything works fine in Elasticsearch 6.7.1.

I noticed that indexing the same document in Elasticsearch 8.2.0 takes 44152ms. In Elasticsearch 6.7.1, indexing takes 50ms.

### Steps to Reproduce

[elasticsearch_8.2.0.txt](https://github.com/elastic/elasticsearch/files/8754299/elasticsearch_8.2.0.txt)
[elasticsearch_6.7.1.txt](https://github.com/elastic/elasticsearch/files/8754300/elasticsearch_6.7.1.txt)



### Logs (if relevant)

_No response_
server/src/test/java/org/elasticsearch/index/mapper/CopyToMapperTests.java
LuceneDocument document = docMapper.parse(new SourceToParse("1", json, XContentType.JSON)).rootDoc();
        assertEquals(0, document.getFields("keyword").length);
        IndexableField[] fields = document.getFields("keyword_copy");
        assertEquals(2, fields.length);
    }
    public void testCopyToGeoPoint() throws Exception {
        DocumentMapper docMapper = createDocumentMapper(topMapping(b -> {
            b.startObject("properties");
            {
                b.startObject("geopoint_copy")
                    .field("type", "geo_point")
                    .endObject()
                    .startObject("geopoint")
                    .field("type", "geo_point")
                    .array("copy_to", "geopoint_copy")
                    .endObject();
            }
            b.endObject();
        }));
        
        {
            for (String value : List.of("41.12,-71.34", "drm3btev3e86", "POINT (-71.34 41.12)")) {
                BytesReference json = BytesReference.bytes(jsonBuilder().startObject().field("geopoint", value).endObject());
                LuceneDocument doc = docMapper.parse(new SourceToParse("1", json, XContentType.JSON)).rootDoc();
                IndexableField[] fields = doc.getFields("geopoint");
                assertThat(fields.length, equalTo(2));
                fields = doc.getFields("geopoint_copy");
                assertThat(fields.length, equalTo(2));
            }
        }