best time to buy retirement plan without losing money