Fix getAdapterConnection() to not always create a new connection

$adapterConnections is a class property not a local variable here