On the escape of particles from cosmic ray modified shocks