Removed unneeded threads