Fix issue due to inotify latency