(e) (1) In response to a demurrer and prior to the case being at issue, a complaint or cross-complaint shall not be amended more than three times, absent an offer to the trial court as to such additional facts to be pleaded that there is a reasonable possibility the defect can be cured to state a cause of action.