Remove unnecessary thread