def METHOD_NAME(self):
    """
    The main function of for the mux process: setup the Mitogen broker
    thread and ansible_mitogen services, then sleep waiting for the socket
    connected to the parent to be closed (indicating the parent has died).
    """
    self._setup_master()
    self._setup_services()
    # Let the parent know our listening socket is ready.
    mitogen.core.io_op(self.child_sock.send, b('1'))
    self.child_sock.send(b('1'))
    # Block until the socket is closed, which happens on parent exit.
    mitogen.core.io_op(self.child_sock.recv, 1)