code: func (s *Server) StopMocker(w http.ResponseWriter, req *http.Request) {
  	s.mockerMtx.Lock()
  	defer s.mockerMtx.Unlock()
  	if s.mockerStop == nil {
  		http.Error(w, "stop channel not initialized", http.StatusInternalServerError)
  		return
  	}
  	close(s.mockerStop)
  	s.mockerStop = nil
  
  	w.WriteHeader(http.StatusOK)
  }
docs: // StopMocker stops the mocker node simulation