I read:
One way would be to send [killall tail( to shell. A better possibility, but still not ideal would be to use [pidof tail( to get the process i numbers of all tail processes, and kill the one with the highest pid.
I guess fuser /path/to/pipe gives the highest chance to kill the one you really want to get rid of sth. like:
fuser -v /path/to/pipe 2>&1 | grep tail | awk '{print $2}'
of course guenther's suggestion would be the cleanest solution
HTH
x