now the TCP program uses threads to check to new messages all the time.