@Override
    public void close() throws IOException {
        // Don't close System.in.
        reader = null;
        closed = true;
    }
This class does not work properly, only used in tests.
indexr-server/src/main/java/io/indexr/server/rt/fetcher/ConsoleFetcher.java