use graceful_stop settings and integrate deallocator in node disable