Rescue redis socket error.