Removed unnecessary extra threads.