Fixed cancelCondition Wait