feature: routing waits for StateManager to finish whatever it's doing