A proceeding commenced under this part may not be discontinued or settled without the court's approval. If the court determines that a proposed discontinuance or settlement will substantially affect the interest of the cooperative or a class of members and holders of financial rights, the court shall direct that notice be given the members and holders of financial rights affected. If notice is so directed to be given, the court may determine which one (1) or more parties to the suit shall bear the expense of giving the notice, in the proportions the court finds to be reasonable in the circumstances, and the amount of the expense shall be awarded as special costs of the suit and recoverable in the same manner as other taxable costs.