def _restarting(self):
        """
        The service is disconnecting and has been asked to restart.
        """

        The service is disconnecting and has been asked to restart.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/application/internet.py