Update util.py

add force close watcher