def METHOD_NAME(self):
    """Capture ctrl+c"""
    def int_handler(sig, frame):
        logger.info("Ctrl+C pressed, kill all processes")
        self._exit_event.set()
    signal.signal(signal.SIGINT, int_handler)