    def get_last_terminate(self) -> datetime.datetime:
        """Get the lastest timestamp when the task terminated."""
        time = self._get_last_action("terminate")
        if time is not None:
            time = self.session._format_timestamp(time)
        return time
Get the lastest timestamp when the task terminated.
rocketry/core/task.py