code: func (s *StanServer) postRecoveryProcessing(recoveredClients []*stores.Client, recoveredSubs []*subState) {
  	for _, sub := range recoveredSubs {
  		sub.Lock()
  		// Consider this subscription initialized. Note that it may
  		// still have newOnHold == true, which would prevent incoming
  		// messages to be delivered before we attempt to redeliver
  		// unacknowledged messages in performRedeliveryOnStartup.
  		sub.initialized = true
  		sub.Unlock()
  	}
  	// Go through the list of clients and ensure their Hb timer is set. Only do
  	// this for standalone mode. If clustered, timers will be setup on leader
  	// election.
  	if !s.isClustered {
  		for _, sc := range recoveredClients {
  			// Because of the loop, we need to make copy for the closure
  			cID := sc.ID
  			s.clients.setClientHB(cID, s.opts.ClientHBInterval, func() {
  				s.checkClientHealth(cID)
  			})
  		}
  	}
  }
docs: // Do some final setup. Be minded of locking here since the server
  // has started communication with NATS server/clients.