Fix useless script timeout check