try {
      this.output?.destroy && this.output.destroy()
    } catch (err) {
      seneca.log.error('repl-close-output', err, { id: this.id })
    }