Counted as early leave by the game

i was playing 4v4 arena game, at the start one player resigned from my team then another player resigned, so i resigned as well. when i try to search for another game, the game counted my resignation as early leave and i have to wait for searching another game.