Small changes made.
-Threadpool to Thread