the "setjmp" and the "ready = 1" statements the slave will pause forever and the complet dump hangs. Fixes PR #24453