add wait signal to remove sleep in watcher process