Wow, why didn't I think of that?
My setup is to get a dumb phone, uninstall every unrelated applications on my laptop, install everyting related to the current personal project, test to make sure, and then stay in a cafe without wifi for a few hours.
It is probably a lot cheaper than staying in a motel as John Carmack did.