client: fix invalid `shutdown` check

`side->shutdown` is enum, and not boolean value.
v0.32.6

Signed-off-by: Fedor Indutny <fedor@indutny.com>