def getCliInstance():
	global _dbcli
	if not _dbcli:
		_dbcli = DatabaseHelper()
	return _dbcli
def flush(self):
        if self._bufferedCommands is None:
            return
        self._connection.sendline(str(self._bufferedCommands))
        self._bufferedCommands = None