shutdown

fun shutdown()

Stops the resource monitor, kills the server process, and resets readiness state.