Better yet, have a toggle to disable exp gain. Lots of games have it, and then you aren’t punishing people for silly deaths.