Also clear the raw client on connection failure.