Added 10x loop for thread creation