@bain: Please see the below links regarding the distributed lock when using Redis:
Update: Regarding the issue with applying the queue name to background jobs, have you tried the following method: