Gravar e-mail: Estimating the distribution of time to extinction of infectious diseases in mean-field approaches