code: def _signal_handler_init(self):
          
          signal.signal(signal.SIGINT, signal.SIG_IGN)
          signal.signal(signal.SIGINT, self._signal_handler)
          signal.signal(signal.SIGTERM, self._signal_handler)
docs: Catch interupt signals.