presto-cli/src/main/java/io/prestosql/cli/Pager.java/Pager/close
class Pager:    private static OutputStream uncloseableOutputStream(OutputStream out)
    {
        return new FilterOutputStream(out)
        {
            @Override
            public void close()
                    throws IOException
            {
                flush();
            }
        };
    }