remove rest client