No surrender in coop battle when people can quit right after joining

hello. its ridiculous and we want a surrender function

can be with restrictions like :

can only surrender if someone in your team left / disconnected
can only surrender if all agree