Fixed concurrency error in parallelism test