use waitOn instead of wait() for routing