remove all restclient refs