@Override
  public void close() {
    writeConnection.close();
    for (NodeConnection conn : readConnections) {
      conn.close();
    }
    isClosed = true;
  }
The implementation of {@link Connection} in cluster test.
integration-test/src/main/java/org/apache/iotdb/itbase/runtime/ClusterTestConnection.java