Next time you give him liquid medicine, I suggest you put it down the side of his mouth. It sounds like he is doing better. If he starts having a problem, call the EC.
Here are some links describing how to do it:
How to Give Liquid Medications to Dogs