what calls stopLogstash()?