@Override
    public int peek() throws IOException {
        return -1;
    }
Empty input stream produces nothing and it can never be closed.
clickhouse-data/src/main/java/com/clickhouse/data/stream/EmptyInputStream.java