Disable r_restart and s_restart while the client is loading. These events can currently be fired during loading because we pump the event loop.Doing so would cause crashes, and is nonsense too.