terminate pb watcher thread