svp: don't directly yield in main thread