Shutdown cleanly when the driver is stopped.