in internal/kernel/client.go [36:51]
func GetClient() *Client {
clientOnce.Do(func() {
// Locking early to be safe with a concurrent Close execution
clientInstanceMutex.Lock()
defer clientInstanceMutex.Unlock()
client, err := newClient()
if err != nil {
panic(err)
}
clientInstance = client
})
return clientInstance
}