code cleaning
Bug fix in ShutdownableNodeActionModel

Nodes can be turned off sooner and the actions no longer start necessarily and the end of the RP.