code: function () {
        if (this.plugin.timers) {
          this.plugin.timers.forEach(function (tid) {
            clearInterval(tid)
          })
        } else {
          if (this.plugin.stop) {
            this.plugin.stop()
          } else {
            logger.warn('could not stop agent')
          }
        }
      }
docs: Stops the plugin - timers could be pushed to plugins 'timers' Array, if timers exists it tries to clearInterval(timerId)
  if no timers are defined it tries to call stop method of the plugin