T-Mobile USB stick connection issue workaround on OS X

Sometimes, when I connect using my T-Mobile USB stick, I can't get Safari or other apps to recognize the Internet connection. I believe this happens with apps that had previously connected to the Net using another interface (e.g., WiFi/en1).

The way I get it to work is to try to load a page in Safari. As it's trying, I disconnect the T-Mobile connection. Then, I reconnect.

I tried simply disconnecting and reconnecting but that didn't work. It seems like having Safari trying to load a page as you disconnect triggers something that tells Safari and other apps (e.g., command line SVN) that they should use the USB stick.

I know it's quite a niche thing but I'm blogging it in hopes that it might just help someone else with the same issue.