def METHOD_NAME(self, op, cid=None):
    retval = False
    cids = self._get_cids(cid)
    msg = "Failed to perform {}".format(op)
    try:
        if not self._connect():
            msg = "Failed to connect"
        elif op == "show":
            retval = self._show()
        elif op == "kill":
            retval = self._kill(cids)
        elif op == "show-kill":
            self._show()
            retval = self._kill(cids)
            self._show()
    except Exception as e:
        msg = "Failed to perform {}: {}".format(op, e)
    if not retval:
        self._log(msg, lvl=logging.ERROR)
    if self.hndl:
        self.hndl.disconnect()
        self.hndl = None
    return retval