nonzero return from client parser is close

Signed-off-by: Andy Green <andy.green@linaro.org>