public static void closeQuietly(Closeable closeable) {
        try {
            if (closeable != null) {
                closeable.close();
            }
        } catch (IOException e) {
            logger.error("IOException should not have been thrown.", e);
        }
    }
Closes the given object, ignoring IOExceptions.
indexr-query-opt/src/main/java/org/apache/spark/util/JavaUtils.java