The balls can be replaced twice and then on the third attempt, a miss cannot be called. We have all come to an agreement that if the player escaping from the snooker comes within roughly 1cm (very close) of hitting the object ball then no miss will be called. It will be at the referees discretion to make sure this is adhered to during matches.