Can we put this in a try/finally or write a little context manager? I'm just worried that if url access throws an exception that we'll leave the locale in a weird state.