How to capture ctrl-c for killing a Flask python script How to capture ctrl-c for killing a Flask python script flask flask