shutdown

fun shutdown()

Synchronously flushes and closes the backend (used on plugin disable).