Fixes the issues when the participants are leaving