Except as provided in the last section, the jury cannot be discharged after the cause is submitted to them until they have agreed upon their verdict, and rendered it in open court, unless by the consent of both parties entered upon the minutes, or unless at the expiration of such time as the court deems proper, it satisfactorily appear that there is no reasonable probability that the jury can agree.
R.L.1910, § 5915.