tcp socket disconnect

@dborkan - you put this in. we cool with errors being reported at this stage and someone higher up dealing with the reconnect?