The sheriff, bailiff, or other officer, shall not be in the room or converse with a juror after the jury has retired from the bar, save by order of the court. A violation of this section shall subject the offender to a fine of fifty dollars and one week’s imprisonment for a contempt.