Stops the engine.
Returns a Future that completes when the engine has stopped. Throws an error if the engine fails to stop.
Future<void> stop();