Prevent possible null pointer in netconf-connector's keepalives

No match.