removed nested loop { } around SNMP trap handling. 

Fixes https://logstash.jira.com/browse/LOGSTASH-938