<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _handle_sigint(self, signum: int, frame: Any) -> None: """Shutdown after processing current task."""

        logger.warning("Catched SIGINT")
        self.shutdown()