Close flushes pending tracing operations and shuts down background goroutines.
func (r *Client) Close()Close flushes pending tracing operations and shuts down background goroutines. Always call Close before the client goes out of scope to ensure all traces are delivered. It is safe to call Close multiple times; it is also safe to call Close on a client that never used tracing (no-op in that case).