Shutdown cleanly when the driver is stopped.

These really do belong a few lines further down.  :)