in reply to signal pipe

Depending on what the victim process is doing, it could receive a sigpipe for some other, perfectly legitimate reason. It's probably not a good signal to overload in this manner.

SIGTERM is the standard signal to use for signalling a process to terminate. If you can't use that for some reason, perhaps you can use SIGUSR1 or SIGUSR2.