}
}
while (multiRunning) {
final Object socket = acceptSocket();
final ByteArrayOutputStream baos = new ByteArrayOutputStream();
final StageHandler realStageHandler = stageHandler.createClone(new PrintStream(baos, true));
new Thread(new Runnable() {
public void run() {
try {
handleSocket(socket, realStageHandler, parameters, errorStream);
synchronized(ListeningStagerHandler.this) {