cleanups for file watching service