If the complaint is filed by a citizen it shall not be dismissed by him or for want of prosecution except upon a sworn statement made by him and his attorney, setting forth the reasons why the action should be dismissed, and by dismissal ordered by the court.