Avoided calling clSetUserEventStatus multiple times