Nothing wrong in giving it back. I have also come across so many like this. I keep it in mind and it disturbs me every time. One point in time it burst out very badly and it will be like I shouted at them unnecessarily. So we have to learn the tactics of giving back politely. Like instead of shouting, with smile in face reply to them. If they react also it will be like boss you fun made of me, I too did it, why do you take it badly. Try something like deepthyanoop said. Dont control our anger show it in polite way. I am also in learning phase .