Fix getAdapterConnection() to not always create a new connection

$adapterConnections is a class property not a local variable here
Merge pull request #366 from rlerdorf/patch-1

Fix getAdapterConnection() to not always create a new connection