Bug 957693: Check the state of the sync loop after processing control runnables, which might cause the world to shift underneath us. r=bent