// to a 5 second inactivity timeout
Thread.currentThread().sleep(8000);
System.out.println("Client Sending CPC");
// Send CPC. The service should recreate a session and send CPC reply
eeUimaEngine.collectionProcessingComplete();
// Now send some CASes and sleep to let the inactivity timer pop again
for (int i = 0; i < 5; i++) {
eeUimaEngine.sendAndReceiveCAS(cas); // This will start a timer on reply queue
cas.reset();
if (i == 3) {