Teachers retiring, but not as many as feared