Add option for worker thread count