This causes "file not added for reaping" errors with Selenium, as the exit handler is called twice. Thanks @jarib for tracking this one down!