_console.addConnection(connection);
int count = 0;
while (true)
{
notifier.waitForWorkItem();
System.out.println("WorkItem available, WorkItem count = " + _console.getWorkitemCount());
WorkItem wi;
while ((wi = _console.getNextWorkitem(0)) != null)
{