How the server is stopped.
Milliseconds to wait for connections to drain before exiting 1.
Logger for shutdown progress.
Ends the process (process.exit outside tests).
process.exit
Optional
Runs after the server closes, before exiting (telemetry flush).
How the server is stopped.