I think i have to work with the interrupted Exception. I tried to put the output "Unterbrochen!" and delet the if statment in main there but it still does not work.