pthreadpool: use strict sync processing only with max_threads=0