Oh dear, I know how you feel, i had people that used to do that with me. I'd just entertain them for a bit and then the convo died, or i just said I was busy
Well I was hoping for the former but telling someone you're busy or about to log off every time they say hello just 'cause you're not in the mood for a chat seems harsh.