That never works for me, the only thing that I can possibly do to not cough is just exhale slowly but completely then take a huge breath of some fresh (cool) air. Then just supress the rest of the cough.