WalletConnect unstable

When I run this code it will not always authenticate. It’s a bit random, which makes me believe there is a timing issue. Like 1 times out of 5 it will not output “Authenticated with WalletConnect”. Connecting with WalletConnect is a two step process on the mobile phone, and the first one always executes. But not always the second one…

Any ideas or remedies?

let currentUser = Moralis.User.current();
if (!currentUser) {
  console.log('Authenticating with WalletConnect');
  currentUser = await Moralis.authenticate({ provider: "walletconnect"});
  console.log('Authenticated with WalletConnect');
}