Reference counting not performed in SSL query functions. #6