redis-cli: ignore SIGPIPE network errors

Closes #2066