Just to be clear, is there a reason you can't call `self.update_browser_integration()` here so that the new port number is used right away?