cf0540d7fa
Replace 50ms setTimeout with waitUntilPredicate polling for first role completion before issuing kill. Same pattern used by pause/resume test. 小橘 <xiaoju@shazhou.work>