'Disconnect from vendor.munin'

def disconnect(self, sock, f):

    try:
        try:
            self._send('quit', sock)
        finally:
            sock.close()
    finally:
        if (f is not None):
            f.close()
