clientAliveInterval behaviour

Hi,

I configured clientAliveInterval as 10minutes and the clientAliveCountMax has the default value 3.

  1. If the connected ne becomes unreachable, the netconf client closes session within 30s, and after 30 minutes(clientAliveInterval*clientAliveCountMax) the connection is dropped from ne side as expected.

  2. If the connected ne becomes unreachable, the netconf client closes session within 30s, and before 30 minutes, say at the 20th minute the ne is made reachable and the netconf client opens a new session. At this point the the old session is dropped even though 30minutes is not over. Is this the expected behaviour? Is confd internally handling this case? If so please explain how.