Differentiate between not getting a lock and getting an error when
trying to get a lock.