public static IOException close(final Reader input) {
        return close((Closeable) input);
    }
referer https://github.com/alibaba/arthas/blob/master/common/src/main/java/com/taobao/arthas/common/IOUtils.java
cop/src/main/java/code/landgrey/copagent/utils/IOUtils.java