choose a connection randomly