def _handle_sigint(number, frame):
    """
    Called when we receive a SIGINT.

    :param number: The signal number (2 in this case).
    :param frame: The stack frame.
    """
    global _interrupted
    _interrupted = True
