Fixing issue related to driver quit process