If the court is of the opinion that the action ought not to be dismissed, the court may direct the county attorney to prosecute said action to judgment at the expense of the county, and if the action is continued beyond the first trial calendar to which assigned, any citizen of the county or the county attorney may be substituted for the complaining party and prosecute said action to judgment.
Iowa Code § 99.16