Platform io not working in offline mode

Immediately when you open VSCode or when you press build on a project or when? Can you show a screenshot?

This is quite the opposite of what I would have expected; If you log in and then disconnect from the internet, there should be an error like that.