deleted nthreads parameter in server, since it is useless