Resolve dcode -r <id> -n ... into a thread the headless run may continue.
Headless resume never falls back to a new thread. Threads stay bound to the workspace policy they were created with, so only threads started headless from the same directory with the same flags can be resumed here.