docs: private void closeStream(InputStream stream) {
  
          if (stream != null) {
              try {
                  stream.close();
              } catch (Exception ex) {
                  LOG.error(ex.getLocalizedMessage(), ex);
              }
          }
      }