added missing parameter and moved cleanup
docstring for snmp_server
made sure that we do not leave stray temp files