To close Xfire, find its icon on your desktop, right-click it, and choose Exit from the menu. That'll shut it down cleanly.