timer can stop when terminate the program by Ctrl + C