Disconnection during or at the start of the match

disconnection during the match or at its start I want if the player disconnects so that he can join the game within 5 minutes or that the battle is taken without a result, whether it wants 4 games in a row, it kicked me or my teammates in the party