I\'m running a nodeJS script that is supposed to stay up forever. However, one of its components can crash uncontrollably and the whole thing needs to be restarted.