Illegal thread state exception. Second thread not needed we could do it with a timer but I don't have enough time to figure it out unfortunately.