Experimenting with app shutdown.