You will have to set up your own mechanism to limit the maximum number of async snapshot tasks.
See for example my About Async tasks, the Get-Task cmdlet and a hash table post.
Depending on the vSphere version you are running, the Get-Task cmdlet will behave differently.
So it's possible you might have to update the logic of that script.