Fixed AddressLocks not using AtomicIntegers in an atomic way.