When the orientation is proper, reaction can occur:
If the chlorine hits an end oxygen atom, then only one bond needs to be broken and one new bond made. Here, the reaction is more likely to happen.