grabAndCheckConnection

Loops looking for an alive connection, returns null if no connections are left