[backend] fix worker crash on kill_job