Prevents rogue browser process when using --launch --headless --quit