iphone cocos2d v2.0.0-rc0 - can't disable touch
===

I've been trying to resolve a problem for a long time, unfortunately i couldn't find a solution. I hope you can help me...

I'm trying to develop a turn based game. Player 1 is the user, player 2 is the iphone. I want to receive touches when it's the player1's turn.

    -(BOOL) ccTouchBegan:(UITouch *)touch withEvent:(UIEvent *)event {
    if (self.playerNo==1) {   //control player1
    CGPoint touchLocation = [self convertTouchToNodeSpace:touch];
    [self selectSpriteForTouch:touchLocation];
    return YES;
    }
    //if it's not player1's turn, return NO
    return NO;
    }

When it's iphones turn, I want to disable touches during 5 seconds. I tried all the ways below, but no success.

    -(void)iphonesTurn
    {
    //[[[CCDirector sharedDirector] touchDispatcher] setDispatchEvents:NO];
    //[[[CCDirector sharedDirector] touchDispatcher] removeDelegate:self];
    //[[CCTouchDispatcher sharedDispatcher] setDispatchEvents:NO]; //deprecated
    //self.isTouchEnabled=NO;
    //[[[CCDirector sharedDirector] touchDispatcher] setPriority:50 forDelegate:self];
    
    [NSThread sleepForTimeInterval:5];
    
    //
    //game logic...
    //
    
    //[[[CCDirector sharedDirector] touchDispatcher] setDispatchEvents:YES];
    //[[[CCDirector sharedDirector] touchDispatcher] addTargetedDelegate:self priority:0 swallowsTouches:YES];
    //[[CCTouchDispatcher sharedDispatcher] setDispatchEvents:YES];
    //self.isTouchEnabled=YES;
    //[[[CCDirector sharedDirector] touchDispatcher] setPriority:0 forDelegate:self];
    }

During 5 seconds I touch screen several times. I realised that all the touches looks like stored and the app reacts to all of my touches when it's the player1's turn.

How can I completely disable touches?

Thanks for your help.