// instantiate Task Manager. TM handles its pool of workers.
taskManager.start();
// Initialise mock clients
for (int i=0; i < NUMBER_OF_CLIENTS ; i++) {
new Thread(new TestClient(taskManager, "Client"+i, MAX_CLENT_IDLE_TIME)).start();
}
// ..let the tread print on console..
PrintStatus statusPrinter = new PrintStatus(taskManager, STATUS_PRINTER_INTERVAL);
new Thread(statusPrinter).start();