Fix #6: deadlock in consecutive calls to inotify_add_watch()

Issue has been caused by errors in my barriers implementation.