@Override
  public String toString() {
    return "ActiveSession [sessionId=" + sessionId + ", aut=" + aut + ", device=" + device + "]";
  }
marks the session as invalid. This happens when e.g. the hardware device has been disconnected.
selendroid-standalone/src/main/java/io/selendroid/standalone/server/model/ActiveSession.java