bugfix: coredump when initialize threadpool using equal 'init' and 'max'