@Override
  public int currentOccupiedSize() {
    return occupied.size();
  }
Timeout of query can be set by users. A negative number means using the default configuration
of server. And value 0 will disable the function of query timeout.
iotdb-client/session/src/main/java/org/apache/iotdb/session/pool/SessionPool.java