Proper use of graceful restart functionality