Erregistroa posta elektronikoz bidali: Bound states of WIMP dark matter in Higgs-portal models. Part II. Thermal decoupling