Sometimes, XHarness fails to determine exit code from test run on Apple devices (investigate if happens on other platforms as well) and fails with: ``` fail: Application has finished but XHarness failed to determine its exit code! ... XHarness exit code: 82 (RETURN_CODE_NOT_SET) ``` Happened for example in build https://dev.azure.com/dnceng-public/public/_build/results?buildId=642460&view=logs&j=28c2a171-0c43-5d2a-7ef1-2d2cea8331ba&t=3df1997a-11aa-5246-c452-91536bb3018b for `tvos-arm64 Release AllSubsets_Mono_RuntimeTests` job ([helix log](https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-heads-main-a8319a2ff8c145ed82/GC_Regressions.Attempt.3/1/console.c81f06e3.log?helixlogtype=result)).