Are you basing it off the visual of when it stops or the audio countdown?
I always assumed it's cast time was in line with the 3rd count. So if you're still in the line when the 3rd count goes off. Even if it's not fully stopped, you still get hit.
Without a cast bar, it's always kind of a guess as to when it actually goes off.