@Override
  public Statement createStatement() throws SQLException {
    if (isClosed) {
      throw new SQLException("Cannot create statement because connection is closed");
    }
    return new IoTDBStatement(this, getClient(), sessionId, zoneId, charset, queryTimeout);
  }
ConnectionTimeout and SocketTimeout. Unit: ms. If not set, default value 0 will be used, which
means that there's no timeout in the client side.
iotdb-client/jdbc/src/main/java/org/apache/iotdb/jdbc/IoTDBConnection.java