The court may discharge a jury because of any accident or calamity requiring it, or by consent of all parties, or when on an amendment a continuance is ordered, or if they have deliberated until it satisfactorily appears that they cannot agree. The case shall be retried immediately or at a future time, as the court directs.
Iowa. R. Civ. P. 1.928