cleanup of http client example