Avoid KDirWatch problem not stopping watching a dir when told
Differential Revision: https://phabricator.kde.org/D5653