fix async loop
Merge pull request #1678 from matiu/bug/swipeWallet

fix async loop