def serviceStopped(self):
        """
        Called when the userauth service is stopped.  Cancel the login timeout
        if it's still going.
        """
        if self._cancelLoginTimeout:
            self._cancelLoginTimeout.cancel()
            self._cancelLoginTimeout = None

        Called when the userauth service is stopped.  Cancel the login timeout
        if it's still going.
        
stackoverflow/venv/lib/python3.6/site-packages/twisted/conch/ssh/userauth.py