}
if (readyFactory != null) {
telnetClient.override(readyFactory);
}
WaitingTelnetClient waitingTelnetClient = new WaitingTelnetClient(telnetClient.withAddress(address).withQueue(queue, callWithEmptyExecutor));
if (!Double.isNaN(endOfCommandTime)) {
waitingTelnetClient.withEndOfCommandTime(endOfCommandTime);
}
if (!Double.isNaN(timeout)) {
waitingTelnetClient.withTimeout(timeout);