Photoionization dynamics of excited Ne, Ar, Kr and Xe atoms near threshold