change shutdown logic for firehose