Client state end_rsu() didn't reset toi_mode to m_undefined, which caused an assertion when NBO was started after RSU. As a fix, reset toi_mode to m_undefined in end_rsu() after changing mode.