There could be a way to gracefully stop the host execution. This could be provided using an interface that may be resolved from the service provider.