private static boolean isSendingOnExitEnabled() {
    // the default value is true, but if a registry is yet not loaded on appWillBeClosed, it means that something bad happened
    return Registry.is("feature.usage.event.log.send.on.ide.close", false);
  }
private static boolean isSendingOnExitEnabled()