managed restart flag (reverted from commit db3fbf80defd7f41cda5bf48899125801a8d9103)