shutdown

fun shutdown()

Shuts down the server by stopping its execution.

This method halts any ongoing operations of the server, effectively terminating its current state and releasing any occupied resources. It should be invoked to safely stop the server when it is no longer necessary.