Add timeout

inotify seems to be buggy, so just refresh after some seconds regardless
of it.