A derivative proceeding may not be discontinued or settled without the court’s approval.