The clerk of any court shall move the court to dismiss any cause pending therein in which no step has been taken for the two terms preceding; and the court shall, unless good cause be shown to the contrary, dismiss the same at the costs of the plaintiff or complainant.