def METHOD_NAME(self) -> None:
    """Shutdown threadless processes."""
    if self.flags.threadless:
        self._shutdown_workers()
        logger.info(
            'Stopped {0} threadless workers'.format(
                self.flags.num_workers,
            ),
        )