close

fun close()

Closes the underlying Ktor client. Call when you're done with the gateway — apps that keep one gateway around for the process lifetime can skip this.