When refreshing my inbox, I get a timeout like this:

When checking the query failing, it is a /FeatureServer/0/queryRelatedRecord. But the query is processed correctly on the server:
<Msg time='2021-09-06T09:40:27,869' type='FINE' code='100004' target='' methodName='layers/0/queryRelatedRecords' machine='172.31.26.181' process='53320' thread='63568' user='' elapsed='35.13975' requestId='297b656b-a055-4c06-a890-8ed23780a995'>REST request successfully processed. Response size is 4037563 characters.</Msg>
The timeout occurs at exactly 30s on Survey123. As you can see above the request took 35s to be processed on the server. When I reduce the size of the query and it is processed under 30s on my server, the Inbox refreshes properly.
So there is a 30s timeout somewhere. Is this something hard coded in Survey123?