Fork within loop with join ALL

In reply to birenkumar:

This likely has nothing to do with a fork statement. Maybe you did not declare qd as rand.