code: function () {
      var self = this;
  
      process.on('SIGINT', function handleInteruptSignal () {
        self._shutdown();
      });
  
      process.on('uncaughtException', function handleException (error) {
        console.log(error.stack);
        self._bail();
        self._shutdown(1);
      });
    }
docs: Functional._handleSignals()