Changes with the threading. Ctrl-c

closes all open threads upon exit