code: func (s *Server) DisableDiagnostic() {
  	s.Lock()
  	defer s.Unlock()
  
  	s.srv.Shutdown(context.Background())
  	s.srv = nil
  	s.enable = 0
  	logrus.Info("Disabling the diagnostic server")
  }
docs: // DisableDiagnostic stop the dubug and closes the tcp socket