If, before the jury retires, one of them becomes so sick as to incapacitate him for the performance of his duty or any other cause renders it necessary, in the opinion of the court, to discharge a juror, such juror may be discharged, another summoned in his place and the trial commenced anew.