handles are client local the client is getting destroyed  the handles should too  the underlying buffers will be refcounted correctly  theoretically you could call handle put n times where n is the number of times your referenced it but that seems silly 