Check if _notifier is None.

When an application is closing this throws a spurious exception when the
notifier is killed before the object.