Remove all sleeps from `client_test.go`
Fix race condition in `TestHTTPAgentJoin_WAN`