use event instead of poll for xapi async call in XS 6.2 and above to reduce the pressure on XAPI