Avoid global variable

`watch_keys` should be local