Add constructors that allow users to change the thread pool count and pending queue size.