Add a test for of the child dies during the reexec
Cleanup state for children that die during reexec