apiserver: sync with http server shutdown to flush existing connections
factory.NewConfigFactory
scheduler.New