I have made a fast API script and want it to stop running if an event happens so it can stop the Heroku app completely and save me time of constantly checking / stopping mys