def register_for_termination(self, handler):
        self.__termination_handler = handler
Register a method to be invoked if the agent service is requested to terminated.
dataset/ETHPy150Open scalyr/scalyr-agent-2/scalyr_agent/platform_windows.py/WindowsPlatformController.register_for_termination