Threads were not being passed