The jury in the rape trial of Bruce Lehrmann has been discharged after fears of misconduct by a juror.