Fix race condition in Route