fix: do not close on flush logstash