When we create a filemant sensor like this:
M591 D0 P2 C"io4.in" S1
We see a message like this:
Recv:8:54:28.166: - Event notification -
Recv:8:54:28.166: Filament error on extruder 0: noFilament
Don't have a sensor but that is what happens when I add the command and a user told me this would work, so I added his solution.
I think this always worked just if you are not printing with sdcard rrf does not care to prevent moves and expect host software to stop.