From what I've noticed, your heroes have a chance at dying if you take longer than 5-10 seconds on killing a boss.

There's no real penalty for now though, other than not having the heroes' skills. (The rebirth bonus is still there, even if some heroes are dead)