SONAR-4690 fix thread sharing of violation ids