Add option to limit number of threads on a worker.
Merge pull request #4 from sachinmaharjan/limit-worker-threads

Add option to limit number of threads on a worker.