Rare crash after running 10 `DOpusRT.exe` processes

I have a custom user command Log with template TEXT/R and this JScript code:

function OnClick(clickData) {
    DOpus.Output(clickData.func.args.text);
}

In Python code, I have a function, which runs:

subprocess.run(f'"{_dopusrt_path}" {args}').check_returncode()

This waits for the process to end before returning.

I ran it 10 times:

run_dopusrt('/cmd Log "Test 1"')
run_dopusrt('/cmd Log "Test 2"')
run_dopusrt('/cmd Log "Test 3"')
run_dopusrt('/cmd Log "Test 4"')
run_dopusrt('/cmd Log "Test 5"')
# (Some other brief process-info-retrieving action that shouldn't matter ran here.)
run_dopusrt('/cmd Log "Test 6"')
run_dopusrt('/cmd Log "Test 7"')
run_dopusrt('/cmd Log "Test 8"')
run_dopusrt('/cmd Log "Test 9"')
run_dopusrt('/cmd Log "Test 10"')

While this almost always leads to output in the correct order without problems, DOpus crashed one time and produced the log output:

Test 2
Test 3
Test 4
Test 5
Test 9
Test 8
Test 10
Test 6
Test 7

Test 1 is missing and the order is mangled.

If you see this again, please send in the DMPs. I couldn't work out what went wrong from the first one, but it's possible additional ones will reveal more.