Automatic restart in case of errors.