Guh. My boolean logic is very fail. This should just be `if (size > 0)`. That way, when `retry` is disabled, we kill off any socket that failed to send the entire buffer in one go.