shutdown Suspend
Stops the embedded server and releases its resources with the specified grace period and timeout.
Parameters
grace Period Millis
The duration in milliseconds for the server to attempt a graceful shutdown. Default is 500 milliseconds.
timeout Millis
The maximum duration in milliseconds to wait for the shutdown process to complete. Default is 1000 milliseconds.