def __init__(self, *, mutex=None, logger=None):
<EOL>self._logger = logger or get_logger(name=__name__)<EOL>super().__init__()<EOL>self._is_running = False<EOL>self._mutex = mutex<EOL>
:param mutex:
:param logger: