use hotswap and stash to wait for http response