Dispose of the NetworkStream when the TcpClient is closed on a connection.
Dispose of the NetworkStream when the TcpClient is closed on a connection.

This can cause the connection to be aborted abruptly and MongoDB not to flush to disk in some situations.

atheken/NoRM,atheken/NoRM