remove client from CACHE if there is an error