Workaround for infinite loop in XCLIENT command bug