Pausing the application when it's done.