Ensure scope flags get computed before JIT.
Turn off background JIT until IR is thread-safe.