code: public static boolean tryToClose(ZipFile zipFile) {
          if (zipFile != null) {
              try {
                  zipFile.close();
                  return true;
              } catch (IOException e) {
                  // ignore
              }
          }
          return false;
      }
docs: Close the zip file
  
  @param zipFile
  @return