public static void closeInputStream(InputStream stream) {
        if (stream == null) return;
        try { stream.close(); } catch (IOException e) {}
    }
Closes an input stream, or does nothing if the stream is null
vespajlib/src/main/java/com/yahoo/io/IOUtils.java