@Override
  public void executeNonQueryStatement(String sql)
      throws IoTDBConnectionException, StatementExecutionException {
    try {
      session.executeNonQueryStatement(sql);
    } catch (IoTDBConnectionException e) {
      sessionPool.cleanSessionAndMayThrowConnectionException(session);
      closed.set(true);
      session = null;
      throw e;
    }
  }
NOTICE: TableSessionWrapper is specific to the table model.

<p>used for SessionPool.getSession need to do some other things like calling
cleanSessionAndMayThrowConnectionException in SessionPool while encountering connection exception
only need to putBack to SessionPool while closing.
iotdb-client/session/src/main/java/org/apache/iotdb/session/pool/TableSessionWrapper.java