Detach browser process and exit.

The way we were doing it before worked only if the browser was already running.