readFuture.awaitUninterruptibly();
if (readFuture.getException() != null) {
throw readFuture.getException();
}
IoBuffer message = (IoBuffer)readFuture.getMessage();
assertEquals(1, message.remaining());
assertEquals(125,message.get());
connectFuture.getSession().close(true);
} finally {
acceptor.dispose();
}