Decrease the number of created threads in b_pthread_create to avoid crash