Check send return code.

Signed-off-by: Matt Benjamin <matt@linuxbox.com>