fix NOTIFIER resource doesn't disappear when disconnecting #9