Switch from "lock" to "leased" engine leader role

Fix #639