[JBJCA-1200] CachedConnectionManager should only lock if needed
BZ1126936: [JBJCA-1199] Use AltKey as fallback