I don’t know what is causing this exception in which it seems that the HangFire job was previously disposed (by some unknown process). I’ve read that it seems to be a HangFire bug.
This is the exception
Message: Cannot access a disposed object.
Object name: ‘Hangfire.Server.BackgroundProcessingServer’.
StackTrace: at Hangfire.Server.BackgroundProcessingServer.ThrowIfDisposed()
Assembly:Hangfire.Core, Version=18.104.22.168, Culture=neutral, PublicKeyToken=null
Reflected Type: Hangfire.Server.BackgroundProcessingServer
Module: Hangfire.Core.dll - Hangfire.Core, Version=22.214.171.124, Culture=neutral, PublicKeyToken=null