docs: public void leaveIntermediateCatchEvent(DelegateExecution execution) {
      EventGateway eventGateway = getPrecedingEventBasedGateway(execution);
      if (eventGateway != null) {
        deleteOtherEventsRelatedToEventBasedGateway(execution, eventGateway);
      }
      
      leave(execution); // Normal leave
    }