At any time before the submission of a case to the jury, a court, in its discretion, may allow the jurors to separate or shall have them kept in charge of proper officers who must be sworn to keep the jurors together until the next meeting of the court, to allow no person (including the officers themselves) to communicate with the jurors on any subject connected with the trial, and to return the jurors to court at the time directed by the court.
SDCL 23A-24-4