docs: protected void persistSessionId(String location, String identifier, Long ksessionId) {
          if (location == null) {
              return;
          }
          FileOutputStream fos = null;
          ObjectOutputStream out = null;
          try {
              fos = new FileOutputStream(location + File.separator + identifier + "-jbpmSessionId.ser");
              out = new ObjectOutputStream(fos);
              out.writeObject(Long.valueOf(ksessionId));
              out.close();
          } catch (IOException ex) {
  //            logger.warn("Error when persisting known session id", ex);
          } finally {
              if (fos != null) {
                  try {
                      fos.close();
                  } catch (IOException e) {
                  }
              }
              if (out != null) {
                  try {
                      out.close();
                  } catch (IOException e) {
                  }
              }
          }
      }