Bug 1032068 - Maintain id pool of activity chaining instances to keep on...

...ly one chaining
What if indexOf before push? I think dup should never occur...