discoverd/client: Fix test hangs

Signed-off-by: Jonathan Rudenberg <jonathan@titanous.com>