Add halt method to the stage

Calling stage.halt will prevent all future tick events and allow the
node process to exit.