see [here](http://stackoverflow.com/questions/14807920/properly-stopping-waiting-and-reseting-a-node-js-heroku-process)
see here