assertEquals(1, clientpool.size());
ServerThread st = (ServerThread) clientpool.getContents().iterator().next();
while (clientpool.size() > 0)
{
st.evict();
Thread.sleep(1000);
}
field = SocketServerInvoker.class.getDeclaredField("threadpool");
field.setAccessible(true);