don't use lazily-evaluated rc.ids in wait_for_idle

can cause KeyError in parallel tests

same fix in 69b0a18833750cab91ddc82fe1ddde9eab617285
Merge pull request #4744 from minrk/qs-if-eid

don't use lazily-evaluated rc.ids in wait_for_idle