SP-896 - Backport of PDI-10878 - Synchronize after merge step error: "savepoint is not valid for this transaction" for MS SQL Server and error handling