The underlying issue is unknown, but starting the router first and then the client makes the test not flaky.