Basically in order to stop an ongoing event you need the eventId, you can store it in a table or variable.
For example:
-- Variable that will store the eventId.
local eventId = nil
-- Triggering the event and storing the id.
eventId = addEvent(countDown, 1000, param, param, param, param, param)...