Allow the Directory Watcher to be halted by setting an externally-supplied event