Handle disconnecting while connecting in steampurple