the socket doesnt close until i close it in mirc. but how do i know when the client is done sending info to mirc?