'Runs a command on the remote host
:param command: Command to run on the remote host
:type command: String
:param background: True to run it in a separate thread,
False should be run in the foreground
:type command: Boolean'

def run(self, command, background=False):

    if background:
        t = threading.Thread(target=ACSClient._run_cmd, args=(self, command))
        t.daemon = True
        t.start()
        return
    return self._run_cmd(command)
