Added autorestart treshold time