Make the watcher into a thread