Close the event