A plaintiff may obtain an appealable final judgment after suffering a loss on the principal claim by dismissing the other claims without prejudice, just so long as the plaintiff does not obtain any agreement from the defendant waiving or tolling the statute of limitations.  The risk that the limitations period will expire while the case is on appeal is sufficient to make the judgment appealable.  (Alabama v. Presbyterian Intercommunity Hospital, Inc. (2019) 40 Cal.App.5th 55, 63, quoting Kurwa v. Kislinger (2013) 57 Cal.4th 1097, 1105-1106.)