Fix quiting of driver