How can i terminate a procedure when anywhere else in the code an event raise. In this event i want to terminate the running procedure.