Whitesapce.
Memoize the local connection factory instead of storing in a top-level var [IMMUTANT-305]

This prevents AOT code from always being considered outside of the
container.