Wrapper over mongoc_client_pool_t that allows getting a client with lock(). After usage this should be freed with unlock(). Note that this.unlock isn't the reverse operation of this.lock. Clients should use their unlock().
Deallocates resources.
This is optional, allows cleaning when this.unlock() is called. But it keeps growing.
See Implementation
Wrapper over mongoc_client_pool_t that allows getting a client with lock(). After usage this should be freed with unlock(). Note that this.unlock isn't the reverse operation of this.lock. Clients should use their unlock().