Wait on multiple queues in WaitUntilEmpty actor.

Addressed #64