TS-1475 - fix clang complaint for sync_cache_dir_on_shutdown