ud_pingpong - check return codes from close calls in normal exit path

Signed-off-by: Reese Faucette <rfaucett@cisco.com>