make lock failure return false, instead of bailing out completely