SONAR-4736 fix freeze on MSSQL