code: func (sm *StateMachine) Reset(in *Msg) {
  	sm.state = 0
  	sm.stateEntered = false
  	sm.plugin.SetMemory(in, StateKey, 0)
  	sm.plugin.SetMemory(in, stateEnteredKey, false)
  	sm.resetFn(in)
  }
docs: // Reset the stateMachine both in memory and in the database. This also runs the
  // programmer-defined reset function (SetOnReset) to reset memories to some
  // starting state for running the same plugin multiple times.