Fixed bug in `routingWait` method