Improved logging when a client connects to a cluster

When a client can't connect to a cluster member it should at
least tell which members it tried.
we should leave this inside while loop so that it gets fresh addresses at each try. see #2585