prevent busy loop in snmptrap input
Merge pull request #388 from rasputnik/master

removed nested loop { } around SNMP trap handling.