code: func (process *TeleportProcess) Shutdown(ctx context.Context) {
  	localCtx := process.StartShutdown(ctx)
  	// wait until parent context closes
  	select {
  	case <-localCtx.Done():
  		process.Debugf("Process completed.")
  	}
  }
docs: // Shutdown launches graceful shutdown process and waits
  // for it to complete