fixed atexit for firefox driver