Once the speech is completed, close the app