Sorry, I was late to see your comment. I don't want anyone else except application service to delete application instances. There is not gonna be any zombies, ApplicationService will delete the application instance immediately after its termination.