Close the embedding model and release resources.
@override Future<void> close() async { if (_isClosed) return; _isClosed = true; onClose(); }