The SetJobRetriesCmd should set lockOwner=null and lockExpirationTime=null.
Otherwise it is possible that lockOwner has a non-null value which prevents the job from being acquired.
Resets the lock only when an inconsistent state is detected. These are:
- a lock owner is set but no expiration time
- retries are 0 but a lock owner or an expiration time is set
Does not reset a consistent job that might be currently executing. Although the job execution will fail due to optimistic locking after resettubg, this would lead also to other job executors picking the job up as well and parallel execution of the same job.