<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def disconnect(self):
 """ Stops and closes the kazoo connection. """

        logger.info("Disconnecting from Zookeeper.")
        self.client.stop()
        self.client.close()