metamask-sdk.js:5 MetaMask - RPC Error: Request of type 'wallet_requestPermissions' already pending for origin. Please wait.

I’m running
@wagmi/connectors”: “^5.0.22”,
@wagmi/core”: “^2.11.7”,

When test on my Pixel 8, it works the few times, after that it’s throwing this error. What can I do to get around this?

{code: -32002, message: "Request of type 'wallet_requestPermissions' alread…xxx. Please wait.", stack: "Error: Request of type 'wallet_requestPermissions'…dQueue (address at index.android.bundle:1:265944)"}

You need to close the pending requests at wallet before sending new signing requests.