If have a tkinter gui for managing pypresence commands. Github
When I press the close button of the window the window closes, but the console stays open.