fix(scheduler): wait for router to be reconfigured