Corrected NoneType error
Given 10 threads for unblocking purposes.