I did also and bit him back, Never tried it again, at least not with me.
Giving a treat for a biter? Oh HAIL no! I'm not rewarding that nasty behaviour, and that's exactly what it is, a reward. Don't know why anyone would think that's a good idea.