add --delay flag and thread out notifier event handling.