Lock exeception

Hangfire.PostgreSql.PostgreSqlDistributedLockException: ‘Could not place a lock on the resource ‘public:lock:recurring-job:Clean-Reservation-Export’: Lock timeout.’

I’m getting the above error, tried the following options
set statetment_timeout
globalconfigration:
GlobalConfiguration.Configuration.UsePostgreSqlStorage(“connectionstring”, new PostgreSqlStorageOptions
{
DistributedLockTimeout = TimeSpan.FromSeconds(2)
});
and more … nothing worked. Please help me resolve the issue