At that point, I'm not sure that there's nothinganything you can really do, except maybe take the lid off & attempt to dry it out before it turns entirely to mush.
For the next time, the three simplest alternatives would be:
Use less liquid [which may not be possible].
Add the rice later in the process.
or my personal favourite...
- Cook the rice separately, in a similar or complementary flavour & combine at the end.