Fixed engine shutdown.