Loop in the watch_refresh command