Bugfix: Some counter lock files were not removed after content generation