Declaring type not needed with assignment.
Fix handling of UDP stat packets, and ensure proper shutdown of statsd input.