<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _state_stopped(self):
 """ The service is not running. This is the initial state, and the state after L{stopService} was called. To get out of this state, call L{startService}. If there is a current connection, we disconnect. """

        if self._reconnectDelayedCall:
            self._reconnectDelayedCall.cancel()
            self._reconnectDelayedCall = None
        self.loseConnection()