I am having a problem with my chatting application built using java sockets. Everything works fine until a client receives a message. After the message is received and printed t