What is your precedure or run on reconnect script settings? When rescue happens x and y and z positions are lost and must be restored before continue. For x and y you can for most printers run
G28 X0 Y0
With z max homing you can also include Z here, otherwise server will set Z using G92 and hope it is correctly and that you can move Z wihout homing it. Some printers are configured to only move after homing and if you need z min homing it will not work since you can not home with a object on the bed.