Fixes shutdown hook problem
Merge pull request #164 from jwestberg/stage-restart

Fixes shutdown hook problem when stages crash