while (true) {
final Future<Message> waitingResult = complServiceConnReq.poll();
if (null != waitingResult) {
try {
final Message connRequest = waitingResult.get();
final NATTraversalTechnique usedNatTraversalTechnique = this
.getUsedTraversalTechniqueFromMessage(connRequest);
final ExecutorService estabExecutor = Executors.newSingleThreadExecutor();
complServiceConnEst = new ExecutorCompletionService<Socket>(estabExecutor);
logger.debug(
"Starting target-side with {}", usedNatTraversalTechnique.getMetaData().getTraversalTechniqueName()); //$NON-NLS-1$
complServiceConnEst.submit(new ConnectionEstablishmentTask(usedNatTraversalTechnique, targetId,
this.mediatorConnection.getControlConnection(), connRequest));
checkEstTask = true;
} catch (final Exception e) {
logger.equals(e.getMessage());