remove references to event handlers after they have fired