kill watcher process after closing the port