Wrap host.shutdown in the Driver, acquiring the lock