Is there any feature to cancel or un-register a registered event?