Update telegraf to latest version
Fix a problem where a restart sometimes only stopped the daemon, but failed to
restart it again. This happened since the stop command didn't wait for the
process to actually die. Adding a wait_for_pids fixes this.
Release notes: https://docs.influxdata.com/telegraf/v1.12/about_the_project/release-notes-changelog/