Ending a NETCONF Session and Closing the Connection
When a client application is finished making requests, it ends
the NETCONF session by emitting the empty
<close-session/> tag within an
<rpc> tag element:
In response, the NETCONF server emits the
<ok/> tag enclosed in an
Because the connection to the NETCONF server is an SSH subsystem, it closes automatically when the NETCONF session ends.