sp.setAddress(new InetSocketAddress(ssa.getConnectURI().getHost(), ssa.getConnectURI().getPort()));
sp.setSelectorManager(sm);
clientStack.push(sp);
ControlClientProtocol ccp = new ControlClientProtocol();
ccp.setTimeout(1000 * 1000); //todo set to 10s
clientStack.push(ccp);
clientStack.setup();
Thread.sleep(5 * 1000); //todo delete