Added Process.exit!

The first step of splitting #383 into simpler pull requests.