This prevents flushing the cache while a publisher is publishing.  This sometimes happens when watching files if a change causes two or more files to be re-parsed in parallel.