Variance of the gradient

When using KLqp with reparameterization trick, how to get the variance of the gradient estimated?