When parent script dies, the DESTROY method now propagates the correct exit code