code: private void deleteApplication() {
          ApplicationDefinition appDef = m_client.getAppDef(m_config.app);
          if (appDef != null) {
              m_logger.info("Deleting existing application: {}", appDef.getAppName());
              m_client.deleteApplication(appDef.getAppName(), appDef.getKey());
          }
      }
docs: Delete existing application if it exists.