Fix for case when fs.watch is called twice