docs: public static void closeQuietly(Iterable<Closeable> closeables) {
      for (Closeable c : closeables) {
        try {
          //Check if we also need to flush
          if (c instanceof Flushable) {
            ((Flushable) c).flush();
          }
  
          if (c != null) {
            c.close();
          }
        } catch (IOException e) {
          LOGGER.debug("Error closing:" + c);
        }
      }
    }