memoized the connection instance var