use scoped http client a bit better maybe