code: private void shutdown() {
          try {
              this.facade.stop();
              this.facade = null;
              // Destroy the static reference
              destroyInstance();
          } catch (final CoreException e) {
              LOGGER.log(SHUTDOWN_ERROR, e);
          }
      }
docs: Release all resources.