Inotify: fix read hanging and watcher close
Merge pull request #1 from motain/fix/watcher-close-hanging

Inotify: fix read hanging and watcher close