I am running a python program as a thread from the flask app, if I kill the app will the program stop running?