Kill the reporter.

        Args:
            check_alive (bool): Raise an exception if the process was already
                dead.

def kill_reporter(self, check_alive=True):
        """Kill the reporter.

        Args:
            check_alive (bool): Raise an exception if the process was already
                dead.
        """
        # reporter is started only in PY3.
        if PY3:
            self._kill_process_type(
                ray_constants.PROCESS_TYPE_REPORTER, check_alive=check_alive)