It looks like you're overcomplicating your triggers. For example, this doesn't need to be so complicated:
-
Loop - Actions
-

Unit Group - Add (Picked unit) to Unit_Group[0]
And what's the point of creating a timer window and hiding it? Also, can this Boss spell even happen more than once at the same time? The whole thing looks to be designed in an unnecessary way.
I highly doubt Memory leaks are making players disconnect.
Either there's a desync (I don't see one) or you're creating an infinite loop which causes the game to crash.
Also, the way you're adding Events is usually a problem due to memory leaks and Event limits:
-
Trigger - Add to (Load 10 of Key in H) the event (Time - timer expires)
I would try to find a different solution here. For example, you could easily use
Dynamic Indexing.
Lastly, I can't see your whole trigger, post it using this:
TopHow To Post Your Triggers I've seen many and many members around the site who need help with their triggers but don't know how to post their triggers in a thread, especially the newcomers. Posting your triggers in a thread is a very important matter when you're asking for a help from other...
www.hiveworkshop.com