// if(null != fTestRunnerClient) {
// stopTest();
// }
fTestRunnerClient = new EclipseTestRunnerClient();
IMessageSender messageMarshaller = LaunchUtil.useStringProtocol(launch.getLaunchConfiguration())
? new StringMessageSender("localhost", port)
: new SerializedMessageSender("localhost", port);
boolean isInitSuccess = false;
do {
try {
messageMarshaller.initReceiver();
isInitSuccess = true;
} catch (SocketTimeoutException e) {
TestNGPlugin.log(e);
}
} while (isInitSuccess == false && launch.isTerminated() == false);