pyinotify loop is blocking, can't easily interrupt it, so switch to daemon thread