400 error occurs when running multiple search requests

When executing multiple requests one after another, eventually the search requests start failing with a 400 error: Failed to derive xcontent

Here is an example search request:

curl --location 'https://r3m15.preshiptesting.osdu.aws/api/search/v2/query'
--header 'Content-Type: application/json'
--header 'data-partition-id: osdu'
--header 'Authorization: Bearer ...'
--data '{ "kind": "osdu:wks::", "query": "(data.WellboreID:("osdu:master-data--Wellbore:4901"))", "limit": 100, "offset": 0 }'