Fix sdk/go/keepclient test race condition

This closes #4395