I have an especially annoying coworker. The only way I am ever able to get him to leave me alone is to either ignore him completely or just make him mad! This may not be the best way to handle the situation but if you give them attention they keep going. If you can ignore them, do so. If you can be blunt and still civil, tell them you are busy and can't listen to their distraction.