code: private void cleanupProject() {
  
          m_requiresCleanup = false;
          try {
              CmsObject cms = OpenCms.initCmsObject(m_adminCms);
              cms.readProject(getProject().getUuid());
          } catch (CmsException e) {
              return;
          }
          try {
              CmsObject cms = OpenCms.initCmsObject(m_adminCms);
              cms.getRequestContext().setCurrentProject(getProject());
              CmsUUID projectId = getProject().getUuid();
              List<CmsResource> projectResources = cms.readProjectView(projectId, CmsResource.STATE_KEEP);
              if (hasOnlyNewResources(projectResources)) {
                  for (CmsResource res : projectResources) {
                      LOG.info("Deleting resource for timed out form session: " + res.getRootPath());
                      deleteResourceFromProject(cms, res);
                  }
                  LOG.info(
                      "Deleting project for timed out form session: "
                          + getProject().getName()
                          + " ["
                          + getProject().getUuid()
                          + "]");
                  cms.deleteProject(projectId);
  
              }
          } catch (CmsException e) {
              LOG.error(e.getLocalizedMessage(), e);
          }
      }
docs: Cleans up the project.<p>