Adding parallel limit and method of setting the limit.

Addresses #2