BUGFIX: errors when clearing cache by multiple processes on HPC infrastructure.