update pipeline to call teardown of output workers when :workers > 1

fixes https://github.com/elasticsearch/logstash/issues/2178