Maxthreads set correctly