Close flushes remaining operations and shuts down the sink.
func (s *TraceSink) Close()Close flushes remaining operations and shuts down the sink. The flush is bounded by CloseTimeout (default 60s); any items still queued after the deadline are dropped with a warning. Close is safe to call multiple times; only the first call has any effect.