Using WITH(NOLOCK)
like here https://github.com/HangfireIO/Hangfire/blob/master/src/Hangfire.SqlServer/SqlServerMonitoringApi.cs#L543 solved the issue.
Using WITH(NOLOCK)
like here https://github.com/HangfireIO/Hangfire/blob/master/src/Hangfire.SqlServer/SqlServerMonitoringApi.cs#L543 solved the issue.