Bug 2117: Improve redis client error checking