code: def set_stop_handler(self):
          
          signal.signal(signal.SIGTERM, self.graceful_stop)
          signal.signal(signal.SIGABRT, self.graceful_stop)
          signal.signal(signal.SIGINT, self.graceful_stop)
docs: Initializes functions that are invoked when the user or OS wants to kill this process.
          :return: