Multiplayer Ban for lagging out?

played the game a bit on multiplayer, my wifi is being a bit laggy today which isn’t always constant, but I keep lagging out of the game which resulted in me getting banned. Don’t think there should be a ban if someone loses connection to the lobby or such.