Rescue Errno::EINVAL from hiredis driver