close

open override fun close()

Releases the underlying HttpClient and its connection/thread pool.

Call this when the application that uses reCAPTCHA verification shuts down. Before the first verification there is no client, and closing does nothing. A verification after close builds a new client, so closing is safe even when the application may start again in the same JVM.