Make sure we don't use disconnected DB handle accidentally.