Issue with Hangfire lock timeout

Good afternoon, I have this error when I run a BackgroundJob (not recursive, it’s a one-shot job):
Hangfire.Storage.DistributedLockTimeoutException:
Hangfire.Storage.DistributedLockTimeoutException: Timeout expired. The timeout elapsed prior to obtaining a distributed lock on the ‘XXX.yyy’ resource.
at Hangfire.MaximumConcurrentExecutionsAttribute.OnPerforming(PerformingContext filterContext)
at Hangfire.Server.BackgroundJobPerformer.InvokeOnPerforming(KeyValuePair`2 ctx)

I use HangFire 1.8.17 and it’s running on SQL Server database Ver. 2017.
Can you help me? I really don’t know how to fix it.
Thank you!