Add clWaitForEvents first