Ok, you got me thinking... take a look at this page from the very first article I wrote for PGD. It talks about handling some signals within Linux. These are part of my server daemon.
You may be able to add a handler for SISPIPE and prevent it from killing the application.
Just a thought.
Bookmarks