I get kicked out whenever I add friends in hearthstone

Why whenever I add friends in Hearthstone the game says game completed and recorded.