Fixed restart thread