First off it IS an expliot. If blizzard intended for you to be able to leave queue once it pops , you would be able to do it through the interface. Second of all, this is a repost (I got flamed last week for reposting it myself) nonetheless it does work.
If you get put on dungeon cooldown, you didn't log off or join friends party fast enough.