wait for firing current file watcher events before closing it