def trap_signals
      Signal.trap('QUIT') { Process.exit! }
      Signal.trap('INT')  { Process.exit! }
      Signal.trap('TERM') { Process.exit! }
    end
def trap_signals
      Signal.trap('QUIT') { Process.exit! }
      Signal.trap('INT')  { Process.exit! }
      Signal.trap('TERM') { Process.exit! }
    end
When signaled to exit, make sure that the Worker shuts down without firing
 the Node's at_exit callbacks.