switch pipswap example to async