Shutdown cleanly when the driver is stopped.

This should not be here.