code: func (es *EventStream) Stop() {
  	if es.stream != nil {
  		stop(es.stream, es.rlref)
  		es.stream = nil
  	}
  
  	// Remove eventstream from the registry
  	registry.Delete(es.registryID)
  	es.registryID = 0
  }
docs: // Stop listening to the event stream.