avoid "statement handle still Active" warning when using prepare_cached

similar to request #5