Local Tweening module possibly causing memory leakages and lag

So i’ve been investigating performance issues in my game for months and found that one of my modules which is made for Tweening locally has been having severe memory leakages.
specifically with a thread that is designed to fire a goodsignal event that refuses to die.
I’ve tried to kill the thread but it would sometimes throw an error called “Cannot close normal coroutine” and then the memory leaks would get even worse and i don’t know why that is happening.
i’m reluctant to add a check for if the coroutine is normal or running because if it is not dead and then it is set to nil, i’m not sure if it will actually garbage collect or not
https://roblox.com/library/14698823479