If you don't want to be talked to, sign out. It's that simple!
Seriously, don't get mad at someone for trying to initiate a conversation. "Busy" and "Away" don't count as "offline". Those just mean that the person trying to talk to you should not expect a quick reply.