patch worker disconnect into watcher close