I have question. Is there something wrong in this code or are my general assumptions correct? Program print good result and finished with exit code 0. EDIT: I added "mail.notifyAll();" in last line in run method in MailServer but still "Too long" info.