* [snmp] Set thing only online on valid response
Otherwise it will toggles between online and offline when the call always times-out, which can happen when the device is unreachable (or a wrong ip address configured).
Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
* Fix memory leak in SNMP. When receiving an async request it is placed in a pending request queue. Not canceling it leads to infinty life cycle for those requests, filling up memory.
* Test the canceling of the snmp aync request by its handler.
Signed-off-by: Falk Bauer <falk.bauer@k-is.com>