http client examples cleanup