fix race condition in file watcher test