Runs the given function f with a new, default instance of SimpleHttpClient and closes the client after the function completes, cleaning up any resources.
Runs the given function f with a new, default instance of SimpleHttpClient and closes the client after the function completes, cleaning up any resources.