Fix deadlocking when obtaining a distributed lock from a non-coordinator node.