On the evolution of ionized gas around hot stars