Some considerations on the calculation of the velocity correlation function in the ring approximation, with application to the Lorentz gas