Hacked to get chrome process to exit properly