Workaround for unreliable FileSystemWatcher