Hi Vipin, 
Thank you for understanding! 
As Stephen mentioned: 
"There is no easy way to handle the case where primary crashes; leaving secondary process with invalid data (dangling pointers)."

Best regards,
Khadem