SONAR-5433 Fix concurrent modification error with big projects