Corrected TcpConnection shutdown behavior