Retrying telnet client connection setUp

On my weak laptop telnet tests failed sporadically because client was trying to connect before server was accepting connections.