switched to a threaded inotify call