Fixed handler unregistering mechanism when some handler is destroyed

Previously, in case of some handler bean being destroyed all handlers were unregistered. It's not correct mechanism and would bring entire event handling infrastructure mechanism down in case of e.g. prototype handler beans used.