code cleanup, reversion

Less code for the sake of readability.  No more reference to client
pointer.  Ping has been reverted back to doing all connection checks in
separate goroutines again.