Fix the memory leak when editing Task Sequences
I consistently run into issues with TS's when making changes to them. Upon closing the TS or applying changes I will receive an error that says "There are too many steps in your TS...". But if I close the console and reopen it, I am able to make the exact changes and they will save fine. The problem usually happens towards the end of the day so I believe it is a memory leak of some kind. I started seeing the issue in 1610 and figured it would go away with new versions. Just updated to 1710 and the issue persists.