I have a python application in which a function runs in a recursive loop and prints updated info to the terminal with each cycle around the loop, all is good until I try to stop this recursion. It does not stop until the terminal window is closed or the application is killed (control-c is pressed) however I am not satisfied