#vulnerable code 
                                @Override
    public ResultSet executeQuery(String sql) throws SQLException {
        String csql = clickhousifySql(sql, "TabSeparatedWithNamesAndTypes");
        CountingInputStream is = getInputStream(csql);
        try {
            return new HttpResult(properties.isCompress()
                    ? new ClickhouseLZ4Stream(is) : is, is, properties.getBufferSize());
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    } 
                            #location 7 
                            #vulnerability type RESOURCE_LEAK
#fixed code
                                @Override
    public ResultSet executeQuery(String sql) throws SQLException {
        String csql = clickhousifySql(sql);
        CountingInputStream is = getInputStream(csql);
        try {
            return new CHResultSet(properties.isCompress()
                    ? new ClickhouseLZ4Stream(is) : is, properties.getBufferSize());
        } catch (Exception e) {
            throw new RuntimeException(e);
        }
    }