SONAR-4053 Try to fix thread lock issue with SemaphoreUpdater