stop

fun stop()

Stops the mock service. Fails if the service is not running.