Revert "JBTM-1650 update to block reading from the socket until tpdiscon() sent the message in conversation"
JBTM-1684 update to check socket is close
Merge pull request #50 from zhfeng/JBTM-1684

JBTM-1684 TestTPConnect::tearDown tpdiscon() abort as the session has been deleted