Graceful restart application