914.03 Attendance of witnesses.—A witness summoned by a grand jury or in a criminal case shall remain in attendance until excused by the court. A witness who departs without permission of the court shall be in criminal contempt of court. A witness shall attend each succeeding term of court until the case is terminated.