I found my problem. I was starting the thread incorrectly.
Old code:
new Thread(t[i]).start(); t[i].join();
New code:
t