Fixed, re-connect when exception happen. I will create new UT in swss-common for DBInterface::_onetime_connect resource issue. _Originally posted by @liuh-80 in https://github.com/sonic-net/sonic-snmpagent/pull/290#discussion_r1349630835_