Fixed restart for any error