def stop(self):
self.shutdown.set()<EOL>for monitor in self.observers:<EOL><INDENT>monitor.stop()<EOL><DEDENT>self.wind_down()<EOL>for monitor in self.observers:<EOL><INDENT>monitor.join()<EOL><DEDENT>for thread in self.thread_pool.values():<EOL><INDENT>thread.join()<EOL><DEDENT>self.work_pool.shutdown()<EOL>
Method for shutting down the watcher.

All config file observers are stopped and their threads joined, along
with the worker thread pool.