refactor snmp peer factory more, fix a deadlock in the access service