def handle_shutdown_signal(self, *_):
        """
        Handles the reception of a shutdown signal.
        """
        if self.shutting_down:
            self.logger.warning('Received double interrupt, forcing shutdown')
            sys.exit(1)
        else:
            self.logger.warning('Received interrupt, initiating shutdown')
            self.shutting_down = True