store a reference to the subscribed handler and use that to unsubscribe successfully