Fix for eventlog plugin not shutting down

https://github.com/elasticsearch/logstash/issues/1672