change the ending way
does not stop from itself now, requires a pkill -f node