There are some events like the Legendary vinetooth boss on Auric Basin that have a timer on it, with few people this events are 100% fail rate because the boss has too much HP.
My suggestions is that when the timer ends the event doesnt end as long as the boss is on combat with someone, this way small group can finish it if they dont wipe