update garden api usage; fix flaky udp test

Signed-off-by: Sheel Choksi <sheelc@pivotallabs.com>