I have a rule that fires on hub startup that restarts NodeRed. Has worked flawlessly for a few years.