Node can be stopped on key press, it will finish its current task before exiting.