'Disconnect from MPD.'

def _disconnect(self):

    import mpd
    try:
        self._client.disconnect()
    except mpd.ConnectionError:
        pass
    self._is_connected = False
    self._status = None
