SONAR-4602 Fix concurrent access issues with dryRun cache