Ok, that's bad, but planned path can not be unplanned and stored for later replay beside that stopping at 200mm might also cause loosing steps. So nothing we can do here. All you can do is reduce buffers but that might cause less smooth moves as optimization does then not work as good. Or move hardware sensor so it does not matter.