No action brought pursuant to this article shall be compromised, discontinued or dismissed by consent, default, or neglect to prosecute, except with approval of the court.