docs: public static void close(Closeable c) {
          if(c != null) {
              try {
                  c.close();
              } catch(IOException e) {
                  logger.error("Error closing stream", e);
              }
          }
      }