Ouput thread now waits via synchronized method (no busy loops anymore)
Thread get shut down if user leaves chat