Classical model for diffusion and thermalization of heavy quarks in a hot medium: memory and out-of-equilibrium effects *The work of M. R. and S. K. D. is supported by the National Science Foundation of China (11805087, 11875153) and by the Fundamental Research Funds for the Central Universities (862946). (September 2019)