How to handle moralis PollingBlockTracker errors?

Moralis is polling information about the latest block every once in a while, when I use walletconnect to login, and then leave the website and come back later without connecting again, it throws errors, which is fine I guess, since it has to provider, but I want to catch these errors or something and not just let them throw unexpectedly.

Alson I get CORS errors, maybe that’s why? but it’s strange that I only get cors errors with walletconnect.

is there a way to handle them somehow? also, I’m not entirely sure why it does it, but it doesn’t happen when using metamask chrome extension.