Fix inotify stop.
Merge pull request #251 from chevah/250-inotify-close-block

Fix inotify stop dead lock. Closes #250