Prevent hiredis from crashing on memory allocation failure