core/core: Remove deregister call in callback of event