You definitely have to wait till you're already being knocked back. If you do it any earlier, it will eat the CD and still knock you back. Even if you barely start to move, it can still eat the CD while you're being knocked back, so I like to wait a half a second longer than I would like to instinctively.