Bugfix: Use inotify_rm_watch instead of close.