redis-cli: ignore SIGPIPE network errors

Also see #2066